refactor the format

This commit is contained in:
ylht 2021-07-19 10:02:19 +08:00
parent e5986dba6c
commit 75a38b7187
2 changed files with 2 additions and 2 deletions

View File

@ -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?

View File

@ -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?