Update Dangerfile

This commit is contained in:
n8225 2016-12-04 11:08:45 -06:00 committed by GitHub
parent fd201f8c1c
commit 77bb7b8095

View File

@ -13,7 +13,7 @@ warn 'Please rebase to get rid of the merge commits in this Pull Request' if git
# Check links # Check links
if has_readme_changes if has_readme_changes
require 'json' require 'json'
results = File.read 'ab-results-README.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'] fail j['title']