{"action":"created","comment":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/comments/66356066","id":66356066,"diff_hunk":"@@ -37,15 +41,35 @@ parse_opts ()\n         exit 1\n     fi\n \n+    if [ \"${OPT_OS}\" == \"\" ]\n+    then\n+        echo \"You must specify a value for os.\"","path":"tools/update.sh","position":34,"original_position":34,"commit_id":"1e4480231e1d287993b5acd68fa0f386437f4b01","original_commit_id":"1e4480231e1d287993b5acd68fa0f386437f4b01","user":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"body":"Can we default to both if not specified?","created_at":"2016-06-08T23:04:11Z","updated_at":"2016-06-08T23:04:11Z","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200#discussion_r66356066","pull_request_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/comments/66356066"},"html":{"href":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200#discussion_r66356066"},"pull_request":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200","id":73130213,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200","diff_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200.diff","patch_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200.patch","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/200","number":200,"state":"open","locked":false,"title":"Add platform as an argument to update script","user":{"login":"kchitalia","id":9594228,"avatar_url":"https://avatars.githubusercontent.com/u/9594228?v=3","gravatar_id":"","url":"https://api.github.com/users/kchitalia","html_url":"https://github.com/kchitalia","followers_url":"https://api.github.com/users/kchitalia/followers","following_url":"https://api.github.com/users/kchitalia/following{/other_user}","gists_url":"https://api.github.com/users/kchitalia/gists{/gist_id}","starred_url":"https://api.github.com/users/kchitalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchitalia/subscriptions","organizations_url":"https://api.github.com/users/kchitalia/orgs","repos_url":"https://api.github.com/users/kchitalia/repos","events_url":"https://api.github.com/users/kchitalia/events{/privacy}","received_events_url":"https://api.github.com/users/kchitalia/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-08T22:18:44Z","updated_at":"2016-06-08T23:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b92c2c92ed7304b13655abfc50a1f78c69a56728","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200/commits","review_comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200/comments","review_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/200/comments","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/statuses/1e4480231e1d287993b5acd68fa0f386437f4b01","head":{"label":"kchitalia:unstable","ref":"unstable","sha":"1e4480231e1d287993b5acd68fa0f386437f4b01","user":{"login":"kchitalia","id":9594228,"avatar_url":"https://avatars.githubusercontent.com/u/9594228?v=3","gravatar_id":"","url":"https://api.github.com/users/kchitalia","html_url":"https://github.com/kchitalia","followers_url":"https://api.github.com/users/kchitalia/followers","following_url":"https://api.github.com/users/kchitalia/following{/other_user}","gists_url":"https://api.github.com/users/kchitalia/gists{/gist_id}","starred_url":"https://api.github.com/users/kchitalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchitalia/subscriptions","organizations_url":"https://api.github.com/users/kchitalia/orgs","repos_url":"https://api.github.com/users/kchitalia/repos","events_url":"https://api.github.com/users/kchitalia/events{/privacy}","received_events_url":"https://api.github.com/users/kchitalia/received_events","type":"User","site_admin":false},"repo":{"id":35450480,"name":"SalesforceMobileSDK-CordovaPlugin","full_name":"kchitalia/SalesforceMobileSDK-CordovaPlugin","owner":{"login":"kchitalia","id":9594228,"avatar_url":"https://avatars.githubusercontent.com/u/9594228?v=3","gravatar_id":"","url":"https://api.github.com/users/kchitalia","html_url":"https://github.com/kchitalia","followers_url":"https://api.github.com/users/kchitalia/followers","following_url":"https://api.github.com/users/kchitalia/following{/other_user}","gists_url":"https://api.github.com/users/kchitalia/gists{/gist_id}","starred_url":"https://api.github.com/users/kchitalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchitalia/subscriptions","organizations_url":"https://api.github.com/users/kchitalia/orgs","repos_url":"https://api.github.com/users/kchitalia/repos","events_url":"https://api.github.com/users/kchitalia/events{/privacy}","received_events_url":"https://api.github.com/users/kchitalia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kchitalia/SalesforceMobileSDK-CordovaPlugin","description":"Cordova plugin for the Salesforce Mobile SDK","fork":true,"url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin","forks_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/forks","keys_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/teams","hooks_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/hooks","issue_events_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/events","assignees_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/tags","blobs_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/languages","stargazers_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/stargazers","contributors_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/contributors","subscribers_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/subscribers","subscription_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/subscription","commits_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/merges","archive_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/downloads","issues_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/labels{/name}","releases_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/kchitalia/SalesforceMobileSDK-CordovaPlugin/deployments","created_at":"2015-05-11T21:14:46Z","updated_at":"2015-05-11T21:14:48Z","pushed_at":"2016-06-08T22:15:19Z","git_url":"git://github.com/kchitalia/SalesforceMobileSDK-CordovaPlugin.git","ssh_url":"git@github.com:kchitalia/SalesforceMobileSDK-CordovaPlugin.git","clone_url":"https://github.com/kchitalia/SalesforceMobileSDK-CordovaPlugin.git","svn_url":"https://github.com/kchitalia/SalesforceMobileSDK-CordovaPlugin","homepage":null,"size":178194,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"forcedotcom:unstable","ref":"unstable","sha":"0d80630edcac17fe2566edde50750aab6c387abe","user":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"repo":{"id":23411868,"name":"SalesforceMobileSDK-CordovaPlugin","full_name":"forcedotcom/SalesforceMobileSDK-CordovaPlugin","owner":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin","description":"Cordova plugin for the Salesforce Mobile SDK","fork":false,"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin","forks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/forks","keys_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/teams","hooks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/hooks","issue_events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/events","assignees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/tags","blobs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/languages","stargazers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/stargazers","contributors_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/contributors","subscribers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/subscribers","subscription_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/subscription","commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/merges","archive_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/downloads","issues_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/labels{/name}","releases_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/deployments","created_at":"2014-08-28T01:57:04Z","updated_at":"2016-06-02T06:55:25Z","pushed_at":"2016-06-08T22:18:44Z","git_url":"git://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin.git","ssh_url":"git@github.com:forcedotcom/SalesforceMobileSDK-CordovaPlugin.git","clone_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin.git","svn_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin","homepage":null,"size":187404,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":6,"forks":48,"open_issues":6,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200"},"html":{"href":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/200"},"issue":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/200"},"comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/statuses/1e4480231e1d287993b5acd68fa0f386437f4b01"}}}}
{"actor":{"display_login":"bhariharan"}}