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:
parent
77a8231474
commit
9167301bf3
1 changed files with 0 additions and 11 deletions
11
Dangerfile
11
Dangerfile
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue