mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
refactor the format
This commit is contained in:
parent
e5986dba6c
commit
75a38b7187
@ -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?
|
||||
|
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user