diff --git a/dangerfile.js b/dangerfile.js index 1896377..19efafd 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -15,10 +15,10 @@ if (yamlData.edited) { /** * Only display awesomeBot results if the data yaml used to generate the readme have been modified. */ - if (awesomeBotResults.error) { - fail(awesomeBotResults.title) - markdown(awesomeBotResults.message) - } +} +if (awesomeBotResults.error) { + fail(awesomeBotResults.title) + markdown(awesomeBotResults.message) } if (scripts.edited) {