aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/fails_with_llvm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/fails_with_llvm.rb')
-rw-r--r--Library/Homebrew/compat/fails_with_llvm.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/fails_with_llvm.rb b/Library/Homebrew/compat/fails_with_llvm.rb
index 2222a33e6..2c7df721d 100644
--- a/Library/Homebrew/compat/fails_with_llvm.rb
+++ b/Library/Homebrew/compat/fails_with_llvm.rb
@@ -1,10 +1,10 @@
class Formula
- def fails_with_llvm msg=nil, data=nil
+ def fails_with_llvm(_msg = nil, _data = nil)
opoo "Calling fails_with_llvm in the install method is deprecated"
puts "Use the fails_with DSL instead"
end
- def self.fails_with_llvm msg=nil, data={}
+ def self.fails_with_llvm(msg = nil, data = {})
data = msg if Hash === msg
fails_with(:llvm) { build(data.delete(:build).to_i) }
end