{"action":"created","issue":{"url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/18","repository_url":"https://api.github.com/repos/rpl/flow-coverage-report","labels_url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/18/comments","events_url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/18/events","html_url":"https://github.com/rpl/flow-coverage-report/issues/18","id":194339012,"number":18,"title":"Exit with exit code 1 if coverage threshold is not met","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"labels":[{"id":428496881,"url":"https://api.github.com/repos/rpl/flow-coverage-report/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T13:43:31Z","updated_at":"2016-12-09T19:15:37Z","closed_at":null,"body":"This is useful for `precommit` checks and CI integration."},"comment":{"url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/comments/266097302","html_url":"https://github.com/rpl/flow-coverage-report/issues/18#issuecomment-266097302","issue_url":"https://api.github.com/repos/rpl/flow-coverage-report/issues/18","id":266097302,"user":{"login":"rpl","id":11484,"avatar_url":"https://avatars.githubusercontent.com/u/11484?v=3","gravatar_id":"","url":"https://api.github.com/users/rpl","html_url":"https://github.com/rpl","followers_url":"https://api.github.com/users/rpl/followers","following_url":"https://api.github.com/users/rpl/following{/other_user}","gists_url":"https://api.github.com/users/rpl/gists{/gist_id}","starred_url":"https://api.github.com/users/rpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpl/subscriptions","organizations_url":"https://api.github.com/users/rpl/orgs","repos_url":"https://api.github.com/users/rpl/repos","events_url":"https://api.github.com/users/rpl/events{/privacy}","received_events_url":"https://api.github.com/users/rpl/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T19:15:36Z","updated_at":"2016-12-09T19:15:36Z","body":"@gajus it should currently exit with an exit code 2 (https://github.com/rpl/flow-coverage-report/blob/master/src/lib/cli/index.js#L25), but probably it would be better to use an exit 1 (I can't actually remember if there is a real reason why I'm exiting with the exit code 2 instead of 1).\r\n\r\nIn your tests, does it exit with code 2 or it is not exiting with an error exit code at all?"}}
{"actor":{"display_login":"rpl"}}