parent
b3c0997c0a
commit
a5fc2ec834
@ -320,6 +320,8 @@ module Cask
|
||||
end
|
||||
|
||||
def trash_paths(*paths, command: nil, **_)
|
||||
return if paths.empty?
|
||||
|
||||
result = command.run!("/usr/bin/swift", args: [TRASH_SCRIPT, *paths])
|
||||
|
||||
# Remove AppleScript's automatic newline.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user