Skip to content

Commit

Permalink
truffle: Fix Homebrew/NoFileutilsRmrf RuboCop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Jul 28, 2024
1 parent 74a3910 commit ebcf235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/t/truffle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def install
else
# Remove incompatible pre-built binaries
dir.glob("*.musl.node").map(&:unlink)
dir.rmtree if dir.basename.to_s != "#{os}-#{arch}"
rm_r(dir) if dir.basename.to_s != "#{os}-#{arch}"
end
end
end
Expand Down

0 comments on commit ebcf235

Please sign in to comment.