diff --git a/Library/Homebrew/cask/quarantine.rb b/Library/Homebrew/cask/quarantine.rb index e8256638dd..03c82d93c4 100644 --- a/Library/Homebrew/cask/quarantine.rb +++ b/Library/Homebrew/cask/quarantine.rb @@ -31,7 +31,7 @@ module Cask def check_quarantine_support odebug "Checking quarantine support" - if !system_command(xattr, args:[ "-h" ], print_stderr: false).success? + if !system_command(xattr, args: ["-h"], print_stderr: false).success? odebug "There's no working version of `xattr` on this system." :xattr_broken elsif swift.nil? diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 54b5a5dac9..8cc52b3455 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1000,7 +1000,7 @@ module Homebrew end def check_cask_xattr - result = system_command "/usr/bin/xattr", args: [ "-h" ] + result = system_command "/usr/bin/xattr", args: ["-h"] return if result.status.success?