From 17559f0420fd925147156e7434916b58c830f44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 12 Dec 2022 12:19:40 +0100 Subject: 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? --- tool/sync_default_gems.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'tool') 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 -- cgit v1.2.3