Skip to content
Snippets Groups Projects
Unverified Commit 892d0ac5 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

style: don’t run shellcheck on specified ruby file.

parent 9e7b98d3
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ module Homebrew
raise "Invalid output_type for check_style_impl: #{output_type}"
end
return !rubocop_success if !files.nil? && !has_non_formula
return !rubocop_success if files.present? || !has_non_formula
shellcheck = which("shellcheck")
shellcheck ||= which("shellcheck", ENV["HOMEBREW_PATH"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment