{"action":"opened","number":1942,"pull_request":{"url":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942","id":94434265,"html_url":"https://github.com/yarnpkg/yarn/pull/1942","diff_url":"https://github.com/yarnpkg/yarn/pull/1942.diff","patch_url":"https://github.com/yarnpkg/yarn/pull/1942.patch","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1942","number":1942,"state":"open","locked":false,"title":"Fix: warn instead of error when a shrinkwrap exists in the cwd","user":{"login":"shahmirn","id":3029066,"avatar_url":"https://avatars.githubusercontent.com/u/3029066?v=3","gravatar_id":"","url":"https://api.github.com/users/shahmirn","html_url":"https://github.com/shahmirn","followers_url":"https://api.github.com/users/shahmirn/followers","following_url":"https://api.github.com/users/shahmirn/following{/other_user}","gists_url":"https://api.github.com/users/shahmirn/gists{/gist_id}","starred_url":"https://api.github.com/users/shahmirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahmirn/subscriptions","organizations_url":"https://api.github.com/users/shahmirn/orgs","repos_url":"https://api.github.com/users/shahmirn/repos","events_url":"https://api.github.com/users/shahmirn/events{/privacy}","received_events_url":"https://api.github.com/users/shahmirn/received_events","type":"User","site_admin":false},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. -->\r\n\r\n**Summary**\r\n\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\nModified code so that a warning instead of an error is reported. This is so that in a CI environment, if it's set up to fail on any errors, this will fix the issue of a build failing on a false positive.\r\n\r\nThis is in regards to the comment @Turbo87 added on https://github.com/yarnpkg/yarn/pull/397\r\n\r\n**Test plan**\r\n\r\n<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->\r\n","created_at":"2016-11-18T20:48:38Z","updated_at":"2016-11-18T20:48:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25fc5dc148bec5313b5364d46874e5fcb74f86b4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942/commits","review_comments_url":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942/comments","review_comment_url":"https://api.github.com/repos/yarnpkg/yarn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1942/comments","statuses_url":"https://api.github.com/repos/yarnpkg/yarn/statuses/9bc18e6f17c597e5defd350041efdbaa0dd8bdee","head":{"label":"shahmirn:master","ref":"master","sha":"9bc18e6f17c597e5defd350041efdbaa0dd8bdee","user":{"login":"shahmirn","id":3029066,"avatar_url":"https://avatars.githubusercontent.com/u/3029066?v=3","gravatar_id":"","url":"https://api.github.com/users/shahmirn","html_url":"https://github.com/shahmirn","followers_url":"https://api.github.com/users/shahmirn/followers","following_url":"https://api.github.com/users/shahmirn/following{/other_user}","gists_url":"https://api.github.com/users/shahmirn/gists{/gist_id}","starred_url":"https://api.github.com/users/shahmirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahmirn/subscriptions","organizations_url":"https://api.github.com/users/shahmirn/orgs","repos_url":"https://api.github.com/users/shahmirn/repos","events_url":"https://api.github.com/users/shahmirn/events{/privacy}","received_events_url":"https://api.github.com/users/shahmirn/received_events","type":"User","site_admin":false},"repo":{"id":73399381,"name":"yarn","full_name":"shahmirn/yarn","owner":{"login":"shahmirn","id":3029066,"avatar_url":"https://avatars.githubusercontent.com/u/3029066?v=3","gravatar_id":"","url":"https://api.github.com/users/shahmirn","html_url":"https://github.com/shahmirn","followers_url":"https://api.github.com/users/shahmirn/followers","following_url":"https://api.github.com/users/shahmirn/following{/other_user}","gists_url":"https://api.github.com/users/shahmirn/gists{/gist_id}","starred_url":"https://api.github.com/users/shahmirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahmirn/subscriptions","organizations_url":"https://api.github.com/users/shahmirn/orgs","repos_url":"https://api.github.com/users/shahmirn/repos","events_url":"https://api.github.com/users/shahmirn/events{/privacy}","received_events_url":"https://api.github.com/users/shahmirn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shahmirn/yarn","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":true,"url":"https://api.github.com/repos/shahmirn/yarn","forks_url":"https://api.github.com/repos/shahmirn/yarn/forks","keys_url":"https://api.github.com/repos/shahmirn/yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahmirn/yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahmirn/yarn/teams","hooks_url":"https://api.github.com/repos/shahmirn/yarn/hooks","issue_events_url":"https://api.github.com/repos/shahmirn/yarn/issues/events{/number}","events_url":"https://api.github.com/repos/shahmirn/yarn/events","assignees_url":"https://api.github.com/repos/shahmirn/yarn/assignees{/user}","branches_url":"https://api.github.com/repos/shahmirn/yarn/branches{/branch}","tags_url":"https://api.github.com/repos/shahmirn/yarn/tags","blobs_url":"https://api.github.com/repos/shahmirn/yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahmirn/yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahmirn/yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahmirn/yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahmirn/yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/shahmirn/yarn/languages","stargazers_url":"https://api.github.com/repos/shahmirn/yarn/stargazers","contributors_url":"https://api.github.com/repos/shahmirn/yarn/contributors","subscribers_url":"https://api.github.com/repos/shahmirn/yarn/subscribers","subscription_url":"https://api.github.com/repos/shahmirn/yarn/subscription","commits_url":"https://api.github.com/repos/shahmirn/yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahmirn/yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahmirn/yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahmirn/yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/shahmirn/yarn/contents/{+path}","compare_url":"https://api.github.com/repos/shahmirn/yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahmirn/yarn/merges","archive_url":"https://api.github.com/repos/shahmirn/yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahmirn/yarn/downloads","issues_url":"https://api.github.com/repos/shahmirn/yarn/issues{/number}","pulls_url":"https://api.github.com/repos/shahmirn/yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/shahmirn/yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/shahmirn/yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahmirn/yarn/labels{/name}","releases_url":"https://api.github.com/repos/shahmirn/yarn/releases{/id}","deployments_url":"https://api.github.com/repos/shahmirn/yarn/deployments","created_at":"2016-11-10T16:18:24Z","updated_at":"2016-11-10T16:18:36Z","pushed_at":"2016-11-18T20:44:50Z","git_url":"git://github.com/shahmirn/yarn.git","ssh_url":"git@github.com:shahmirn/yarn.git","clone_url":"https://github.com/shahmirn/yarn.git","svn_url":"https://github.com/shahmirn/yarn","homepage":"https://yarnpkg.com","size":41671,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"yarnpkg:master","ref":"master","sha":"328b4e1f13fcbc569b47f9c9a1a1a19e753f277f","user":{"login":"yarnpkg","id":22247014,"avatar_url":"https://avatars.githubusercontent.com/u/22247014?v=3","gravatar_id":"","url":"https://api.github.com/users/yarnpkg","html_url":"https://github.com/yarnpkg","followers_url":"https://api.github.com/users/yarnpkg/followers","following_url":"https://api.github.com/users/yarnpkg/following{/other_user}","gists_url":"https://api.github.com/users/yarnpkg/gists{/gist_id}","starred_url":"https://api.github.com/users/yarnpkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarnpkg/subscriptions","organizations_url":"https://api.github.com/users/yarnpkg/orgs","repos_url":"https://api.github.com/users/yarnpkg/repos","events_url":"https://api.github.com/users/yarnpkg/events{/privacy}","received_events_url":"https://api.github.com/users/yarnpkg/received_events","type":"Organization","site_admin":false},"repo":{"id":49970642,"name":"yarn","full_name":"yarnpkg/yarn","owner":{"login":"yarnpkg","id":22247014,"avatar_url":"https://avatars.githubusercontent.com/u/22247014?v=3","gravatar_id":"","url":"https://api.github.com/users/yarnpkg","html_url":"https://github.com/yarnpkg","followers_url":"https://api.github.com/users/yarnpkg/followers","following_url":"https://api.github.com/users/yarnpkg/following{/other_user}","gists_url":"https://api.github.com/users/yarnpkg/gists{/gist_id}","starred_url":"https://api.github.com/users/yarnpkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarnpkg/subscriptions","organizations_url":"https://api.github.com/users/yarnpkg/orgs","repos_url":"https://api.github.com/users/yarnpkg/repos","events_url":"https://api.github.com/users/yarnpkg/events{/privacy}","received_events_url":"https://api.github.com/users/yarnpkg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yarnpkg/yarn","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":false,"url":"https://api.github.com/repos/yarnpkg/yarn","forks_url":"https://api.github.com/repos/yarnpkg/yarn/forks","keys_url":"https://api.github.com/repos/yarnpkg/yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarnpkg/yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarnpkg/yarn/teams","hooks_url":"https://api.github.com/repos/yarnpkg/yarn/hooks","issue_events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/events{/number}","events_url":"https://api.github.com/repos/yarnpkg/yarn/events","assignees_url":"https://api.github.com/repos/yarnpkg/yarn/assignees{/user}","branches_url":"https://api.github.com/repos/yarnpkg/yarn/branches{/branch}","tags_url":"https://api.github.com/repos/yarnpkg/yarn/tags","blobs_url":"https://api.github.com/repos/yarnpkg/yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarnpkg/yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarnpkg/yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarnpkg/yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarnpkg/yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/yarnpkg/yarn/languages","stargazers_url":"https://api.github.com/repos/yarnpkg/yarn/stargazers","contributors_url":"https://api.github.com/repos/yarnpkg/yarn/contributors","subscribers_url":"https://api.github.com/repos/yarnpkg/yarn/subscribers","subscription_url":"https://api.github.com/repos/yarnpkg/yarn/subscription","commits_url":"https://api.github.com/repos/yarnpkg/yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarnpkg/yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarnpkg/yarn/contents/{+path}","compare_url":"https://api.github.com/repos/yarnpkg/yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarnpkg/yarn/merges","archive_url":"https://api.github.com/repos/yarnpkg/yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarnpkg/yarn/downloads","issues_url":"https://api.github.com/repos/yarnpkg/yarn/issues{/number}","pulls_url":"https://api.github.com/repos/yarnpkg/yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/yarnpkg/yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/yarnpkg/yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarnpkg/yarn/labels{/name}","releases_url":"https://api.github.com/repos/yarnpkg/yarn/releases{/id}","deployments_url":"https://api.github.com/repos/yarnpkg/yarn/deployments","created_at":"2016-01-19T17:39:16Z","updated_at":"2016-11-18T20:34:26Z","pushed_at":"2016-11-18T20:48:39Z","git_url":"git://github.com/yarnpkg/yarn.git","ssh_url":"git@github.com:yarnpkg/yarn.git","clone_url":"https://github.com/yarnpkg/yarn.git","svn_url":"https://github.com/yarnpkg/yarn","homepage":"https://yarnpkg.com","size":52702,"stargazers_count":19319,"watchers_count":19319,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":655,"mirror_url":null,"open_issues_count":428,"forks":655,"open_issues":428,"watchers":19319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942"},"html":{"href":"https://github.com/yarnpkg/yarn/pull/1942"},"issue":{"href":"https://api.github.com/repos/yarnpkg/yarn/issues/1942"},"comments":{"href":"https://api.github.com/repos/yarnpkg/yarn/issues/1942/comments"},"review_comments":{"href":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942/comments"},"review_comment":{"href":"https://api.github.com/repos/yarnpkg/yarn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yarnpkg/yarn/pulls/1942/commits"},"statuses":{"href":"https://api.github.com/repos/yarnpkg/yarn/statuses/9bc18e6f17c597e5defd350041efdbaa0dd8bdee"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"shahmirn"}}