aboutsummaryrefslogtreecommitdiffstats
path: root/Dangerfile
diff options
context:
space:
mode:
authornrew225 <nrew225@gmail.com>2016-12-17 00:54:22 +0000
committernrew225 <nrew225@gmail.com>2016-12-17 00:54:22 +0000
commit08ef1288a8b798141c6ea3d7de2c7b0efb57482c (patch)
tree18a26a06d874caa617b064ef22af2571412e2cd5 /Dangerfile
parentturn off emails (diff)
downloadawesome-selfhosted-08ef1288a8b798141c6ea3d7de2c7b0efb57482c.tar.gz
awesome-selfhosted-08ef1288a8b798141c6ea3d7de2c7b0efb57482c.zip
Warn on awesomebot fails
Diffstat (limited to '')
-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