From e921ece095b765198e87b02a2df1dacc18f3e649 Mon Sep 17 00:00:00 2001 From: nrew225 Date: Fri, 16 Dec 2016 19:27:29 -0600 Subject: [PATCH] warn only on awesomebot fail --- Dangerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dangerfile b/Dangerfile index de8e3f2a..86adae6c 100644 --- a/Dangerfile +++ b/Dangerfile @@ -19,7 +19,7 @@ if has_readme_changes results = File.read 'ab-results-temp.md-markdown-table.json' j = JSON.parse results if j['error']==true - fail j['title'] + warn j['title'] markdown j['message'] end end @@ -30,7 +30,7 @@ if has_readme_changes syntaxresults = File.read 'syntaxcheck.json' sj = JSON.parse syntaxresults if sj['error']==true - warn sj['title'] + fail sj['title'] markdown sj['message'] end end