mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[bundler/bundler] Remve another unneeded to_s
`FileUtils.rm` supports a `Pathname` argument.
7d982a5be9
This commit is contained in:
parent
9925e1a10f
commit
adfca752d6
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ RSpec.describe "The library itself" do
|
|||
spec.bindir = "libexec"
|
||||
File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby }
|
||||
gem_command! :build, root.join("bundler.gemspec")
|
||||
FileUtils.rm(root.join("bundler.gemspec").to_s)
|
||||
FileUtils.rm(root.join("bundler.gemspec"))
|
||||
else
|
||||
gem_command! :build, gemspec
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue