Browse Source

warn only on awesomebot fail

add-orchest
nrew225 8 years ago
parent
commit
e921ece095
  1. 4
      Dangerfile

4
Dangerfile

@ -19,7 +19,7 @@ if has_readme_changes
results = File.read 'ab-results-temp.md-markdown-table.json' results = File.read 'ab-results-temp.md-markdown-table.json'
j = JSON.parse results j = JSON.parse results
if j['error']==true if j['error']==true
fail j['title'] warn j['title']
markdown j['message'] markdown j['message']
end end
end end
@ -30,7 +30,7 @@ if has_readme_changes
syntaxresults = File.read 'syntaxcheck.json' syntaxresults = File.read 'syntaxcheck.json'
sj = JSON.parse syntaxresults sj = JSON.parse syntaxresults
if sj['error']==true if sj['error']==true
warn sj['title'] fail sj['title']
markdown sj['message'] markdown sj['message']
end end
end end

Loading…
Cancel
Save