Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
limitusus committed Oct 28, 2020
1 parent b09d9c3 commit f86beb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_syntax_check
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module JSONChecker
checker = Checker.new(patterns)
failures = checker.run
puts "::set-output name=failed_files::#{JSON.dump(failures)}"
if failures.!empty?
if !failures.empty?
puts "Files below has/have JSON syntax error (of #{checker.files.length} files)"
failures.each do |f|
puts "- #{f}"
Expand Down

0 comments on commit f86beb7

Please sign in to comment.