mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
Don't leave backup file around
I suspect this was for debugging? If not, these days we have source control tools, so this wouldn't seem necessary?
This commit is contained in:
parent
f88f2bd92f
commit
17559f0420
Notes:
git
2022-12-12 22:02:20 +00:00
1 changed files with 0 additions and 1 deletions
|
@ -118,7 +118,6 @@ module SyncDefaultGems
|
||||||
"rdoc-ref:#{mod || name.chomp("_rdoc") + ".rdoc"}#{scope}#{label}"
|
"rdoc-ref:#{mod || name.chomp("_rdoc") + ".rdoc"}#{scope}#{label}"
|
||||||
end
|
end
|
||||||
changed or return false
|
changed or return false
|
||||||
File.rename(file, file + "~")
|
|
||||||
File.binwrite(file, src)
|
File.binwrite(file, src)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue