Update Dangerfile

This commit is contained in:
n8225 2016-12-04 09:34:56 -06:00 committed by GitHub
parent a04c04f968
commit 2baa3cff6f

View File

@ -15,8 +15,9 @@ j = JSON.parse results
if j['error']==true if j['error']==true
fail j['title'] fail j['title']
markdown j['message'] markdown j['message']
end
# Check syntx # Check syntax
require 'json' require 'json'
results = File.read 'syntaxcheck.json' results = File.read 'syntaxcheck.json'
j = JSON.parse results j = JSON.parse results