{"action":"opened","issue":{"url":"https://api.github.com/repos/garriguv/danger-ruby-swiftformat/issues/10","repository_url":"https://api.github.com/repos/garriguv/danger-ruby-swiftformat","labels_url":"https://api.github.com/repos/garriguv/danger-ruby-swiftformat/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/garriguv/danger-ruby-swiftformat/issues/10/comments","events_url":"https://api.github.com/repos/garriguv/danger-ruby-swiftformat/issues/10/events","html_url":"https://github.com/garriguv/danger-ruby-swiftformat/issues/10","id":359263523,"node_id":"MDU6SXNzdWUzNTkyNjM1MjM=","number":10,"title":"Empty output is treated as an error","user":{"login":"mgrebenets","id":350654,"node_id":"MDQ6VXNlcjM1MDY1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/350654?v=4","gravatar_id":"","url":"https://api.github.com/users/mgrebenets","html_url":"https://github.com/mgrebenets","followers_url":"https://api.github.com/users/mgrebenets/followers","following_url":"https://api.github.com/users/mgrebenets/following{/other_user}","gists_url":"https://api.github.com/users/mgrebenets/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrebenets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrebenets/subscriptions","organizations_url":"https://api.github.com/users/mgrebenets/orgs","repos_url":"https://api.github.com/users/mgrebenets/repos","events_url":"https://api.github.com/users/mgrebenets/events{/privacy}","received_events_url":"https://api.github.com/users/mgrebenets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T23:44:37Z","updated_at":"2018-09-11T23:44:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If SwiftFormat produces no output it's treated as an error.\r\nThis seems to be a new change since `0.3.4`.\r\n\r\nThe issue is that empty output is usually an OK thing for command line tools.\r\nAs a matter of fact, SwiftFormat supports `--quiet` option starting from `0.35.4`: https://github.com/nicklockwood/SwiftFormat/issues/300\r\n\r\nShould the plugin handle empty output as success and just report \"all OK\" back to GitHub?"}}
{"actor":{"display_login":"mgrebenets"}}