aboutsummaryrefslogtreecommitdiffstats
path: root/Dangerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dangerfile b/Dangerfile
index 8124c31b..bb8fd0e0 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -26,11 +26,12 @@ end
# Check syntax
if has_readme_changes
+ awesome_bot temp.md --allow-redirect --allow-ssl
require 'json'
syntaxresults = File.read 'syntaxcheck.json'
sj = JSON.parse syntaxresults
if sj['error']==true
- fail sj['title']
+ warn sj['title']
markdown sj['message']
end
end