add comment
This commit is contained in:
parent
fb415a15e9
commit
4cf996bcdf
@ -153,7 +153,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if new_hash.present? && cask.language.blank?
|
if new_hash.present? && cask.language.blank? # avoid repeated replacement for multilanguage cask
|
||||||
hash_regex = old_hash == :no_check ? ":no_check" : "[\"']#{Regexp.escape(old_hash.to_s)}[\"']"
|
hash_regex = old_hash == :no_check ? ":no_check" : "[\"']#{Regexp.escape(old_hash.to_s)}[\"']"
|
||||||
|
|
||||||
replacement_pairs << [
|
replacement_pairs << [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user