diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-12-12 12:19:40 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-13 07:01:52 +0900 |
commit | 17559f0420fd925147156e7434916b58c830f44c (patch) | |
tree | b39994774c08169b5f9306dd9ad9766ec15f4cb7 | |
parent | f88f2bd92f4a1760c0f323614c45369d6a281317 (diff) | |
download | ruby-17559f0420fd925147156e7434916b58c830f44c.tar.gz |
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?
-rwxr-xr-x | tool/sync_default_gems.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index b896476773..14390f442b 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -118,7 +118,6 @@ module SyncDefaultGems "rdoc-ref:#{mod || name.chomp("_rdoc") + ".rdoc"}#{scope}#{label}" end changed or return false - File.rename(file, file + "~") File.binwrite(file, src) return true end |