brew style --fix

This commit is contained in:
Daiki Mizukami 2024-06-12 12:28:42 +09:00
parent 028cfe1ea6
commit 8e8d0c0248
No known key found for this signature in database
GPG Key ID: 10478E598B944AA2

View File

@ -109,7 +109,8 @@ module Cask
if target.writable?
source.children.each { |child| FileUtils.move(child, target/child.basename) }
else
::Utils::Copy.recursive_with_attributes(source.children, target, force_command: true, sudo: true, command:)
::Utils::Copy.recursive_with_attributes(source.children, target,
force_command: true, sudo: true, command:)
end
Quarantine.copy_xattrs(source, target, command:)
source.rmtree