From 08ef1288a8b798141c6ea3d7de2c7b0efb57482c Mon Sep 17 00:00:00 2001 From: nrew225 Date: Fri, 16 Dec 2016 18:54:22 -0600 Subject: Warn on awesomebot fails --- Dangerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dangerfile') 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 -- cgit v1.2.3