1
0
Fork 0
mirror of https://github.com/bayandin/awesome-awesomeness.git synced 2024-11-20 11:26:10 -05:00

Update Dangerfile

This commit is contained in:
Miguel Piedrafita 2016-12-05 20:24:39 +01:00 committed by GitHub
parent 77a8231474
commit 9167301bf3

View file

@ -23,14 +23,3 @@ if has_readme_changes
markdown j['message'] markdown j['message']
end end
end end
# Check syntax
if has_readme_changes
require 'json'
syntaxresults = File.read 'syntaxcheck.json'
sj = JSON.parse syntaxresults
if sj['error']==true
fail sj['title']
markdown sj['message']
end
end