{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2","id":99180333,"html_url":"https://github.com/dasilvacontin/dot-only-hunter/pull/2","diff_url":"https://github.com/dasilvacontin/dot-only-hunter/pull/2.diff","patch_url":"https://github.com/dasilvacontin/dot-only-hunter/pull/2.patch","issue_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/2","number":2,"state":"open","locked":false,"title":"Test for `grep` exit codes >1","user":{"login":"jamiemjennings","id":6975957,"avatar_url":"https://avatars.githubusercontent.com/u/6975957?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiemjennings","html_url":"https://github.com/jamiemjennings","followers_url":"https://api.github.com/users/jamiemjennings/followers","following_url":"https://api.github.com/users/jamiemjennings/following{/other_user}","gists_url":"https://api.github.com/users/jamiemjennings/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiemjennings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiemjennings/subscriptions","organizations_url":"https://api.github.com/users/jamiemjennings/orgs","repos_url":"https://api.github.com/users/jamiemjennings/repos","events_url":"https://api.github.com/users/jamiemjennings/events{/privacy}","received_events_url":"https://api.github.com/users/jamiemjennings/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/dasilvacontin/dot-only-hunter/issues/1\r\n\r\nChanges to test for `grep` exit codes >1 which signal an error running `grep`. The `dot-only-hunter` script should exit with an error code if the grep command fails.\r\n\r\nTest case:\r\n(modify script to use argument `--asdf` on the grep command line):\r\n```\r\n➜  bin git:(master) ✗ ./dot-only-hunter\r\nHunting inside 'test' for tests with `.only`...\r\ngrep: unrecognized option `--asdf'\r\nusage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]\r\n\t[-e pattern] [-f file] [--binary-files=value] [--color=when]\r\n\t[--context[=num]] [--directories=action] [--label] [--line-buffered]\r\n\t[--null] [pattern] [file ...]\r\nError searching for`.only` in your tests. This system may be incompatible.\r\n```","created_at":"2016-12-22T22:35:13Z","updated_at":"2016-12-22T22:35:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/2/comments","statuses_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/statuses/6d97840b63b590b57302f1804172b24163d60bf4","head":{"label":"jamiemjennings:test-exit-codes","ref":"test-exit-codes","sha":"6d97840b63b590b57302f1804172b24163d60bf4","user":{"login":"jamiemjennings","id":6975957,"avatar_url":"https://avatars.githubusercontent.com/u/6975957?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiemjennings","html_url":"https://github.com/jamiemjennings","followers_url":"https://api.github.com/users/jamiemjennings/followers","following_url":"https://api.github.com/users/jamiemjennings/following{/other_user}","gists_url":"https://api.github.com/users/jamiemjennings/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiemjennings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiemjennings/subscriptions","organizations_url":"https://api.github.com/users/jamiemjennings/orgs","repos_url":"https://api.github.com/users/jamiemjennings/repos","events_url":"https://api.github.com/users/jamiemjennings/events{/privacy}","received_events_url":"https://api.github.com/users/jamiemjennings/received_events","type":"User","site_admin":false},"repo":{"id":77179804,"name":"dot-only-hunter","full_name":"jamiemjennings/dot-only-hunter","owner":{"login":"jamiemjennings","id":6975957,"avatar_url":"https://avatars.githubusercontent.com/u/6975957?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiemjennings","html_url":"https://github.com/jamiemjennings","followers_url":"https://api.github.com/users/jamiemjennings/followers","following_url":"https://api.github.com/users/jamiemjennings/following{/other_user}","gists_url":"https://api.github.com/users/jamiemjennings/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiemjennings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiemjennings/subscriptions","organizations_url":"https://api.github.com/users/jamiemjennings/orgs","repos_url":"https://api.github.com/users/jamiemjennings/repos","events_url":"https://api.github.com/users/jamiemjennings/events{/privacy}","received_events_url":"https://api.github.com/users/jamiemjennings/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamiemjennings/dot-only-hunter","description":":squirrel: Hunt down `.only`s before it's too late.","fork":true,"url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter","forks_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/forks","keys_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/teams","hooks_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/hooks","issue_events_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/issues/events{/number}","events_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/events","assignees_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/assignees{/user}","branches_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/branches{/branch}","tags_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/tags","blobs_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/languages","stargazers_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/stargazers","contributors_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/contributors","subscribers_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/subscribers","subscription_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/subscription","commits_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/contents/{+path}","compare_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/merges","archive_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/downloads","issues_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/issues{/number}","pulls_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/labels{/name}","releases_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/releases{/id}","deployments_url":"https://api.github.com/repos/jamiemjennings/dot-only-hunter/deployments","created_at":"2016-12-22T22:24:39Z","updated_at":"2016-12-22T22:24:42Z","pushed_at":"2016-12-22T22:29:11Z","git_url":"git://github.com/jamiemjennings/dot-only-hunter.git","ssh_url":"git@github.com:jamiemjennings/dot-only-hunter.git","clone_url":"https://github.com/jamiemjennings/dot-only-hunter.git","svn_url":"https://github.com/jamiemjennings/dot-only-hunter","homepage":"","size":5,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"dasilvacontin:master","ref":"master","sha":"438912ad81ab4a8d4ea28ff7deb7a55397580e2e","user":{"login":"dasilvacontin","id":1260830,"avatar_url":"https://avatars.githubusercontent.com/u/1260830?v=3","gravatar_id":"","url":"https://api.github.com/users/dasilvacontin","html_url":"https://github.com/dasilvacontin","followers_url":"https://api.github.com/users/dasilvacontin/followers","following_url":"https://api.github.com/users/dasilvacontin/following{/other_user}","gists_url":"https://api.github.com/users/dasilvacontin/gists{/gist_id}","starred_url":"https://api.github.com/users/dasilvacontin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasilvacontin/subscriptions","organizations_url":"https://api.github.com/users/dasilvacontin/orgs","repos_url":"https://api.github.com/users/dasilvacontin/repos","events_url":"https://api.github.com/users/dasilvacontin/events{/privacy}","received_events_url":"https://api.github.com/users/dasilvacontin/received_events","type":"User","site_admin":false},"repo":{"id":53610760,"name":"dot-only-hunter","full_name":"dasilvacontin/dot-only-hunter","owner":{"login":"dasilvacontin","id":1260830,"avatar_url":"https://avatars.githubusercontent.com/u/1260830?v=3","gravatar_id":"","url":"https://api.github.com/users/dasilvacontin","html_url":"https://github.com/dasilvacontin","followers_url":"https://api.github.com/users/dasilvacontin/followers","following_url":"https://api.github.com/users/dasilvacontin/following{/other_user}","gists_url":"https://api.github.com/users/dasilvacontin/gists{/gist_id}","starred_url":"https://api.github.com/users/dasilvacontin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasilvacontin/subscriptions","organizations_url":"https://api.github.com/users/dasilvacontin/orgs","repos_url":"https://api.github.com/users/dasilvacontin/repos","events_url":"https://api.github.com/users/dasilvacontin/events{/privacy}","received_events_url":"https://api.github.com/users/dasilvacontin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dasilvacontin/dot-only-hunter","description":":squirrel: Hunt down `.only`s before it's too late.","fork":false,"url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter","forks_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/forks","keys_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/teams","hooks_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/hooks","issue_events_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/events{/number}","events_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/events","assignees_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/assignees{/user}","branches_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/branches{/branch}","tags_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/tags","blobs_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/languages","stargazers_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/stargazers","contributors_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/contributors","subscribers_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/subscribers","subscription_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/subscription","commits_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/contents/{+path}","compare_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/merges","archive_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/downloads","issues_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues{/number}","pulls_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/labels{/name}","releases_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/releases{/id}","deployments_url":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/deployments","created_at":"2016-03-10T19:22:48Z","updated_at":"2016-07-18T03:43:51Z","pushed_at":"2016-04-13T09:25:10Z","git_url":"git://github.com/dasilvacontin/dot-only-hunter.git","ssh_url":"git@github.com:dasilvacontin/dot-only-hunter.git","clone_url":"https://github.com/dasilvacontin/dot-only-hunter.git","svn_url":"https://github.com/dasilvacontin/dot-only-hunter","homepage":"","size":5,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2"},"html":{"href":"https://github.com/dasilvacontin/dot-only-hunter/pull/2"},"issue":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/2"},"comments":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dasilvacontin/dot-only-hunter/statuses/6d97840b63b590b57302f1804172b24163d60bf4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"jamiemjennings"}}