Skip to content

Commit

Permalink
cask/utils: fix compatibility with Ruby 3.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed May 16, 2024
1 parent db1d031 commit a13d8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def self.gain_permissions_remove(path, command: SystemCommand)
gain_permissions(path, permission_flags, command) do |p|
if p.parent.writable?
if directory
p.rmtree
FileUtils.rm_r p
else
FileUtils.rm_f p
end
Expand Down

0 comments on commit a13d8d6

Please sign in to comment.