Update Dangerfile
This commit is contained in:
parent
a04c04f968
commit
2baa3cff6f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user