summaryrefslogtreecommitdiff
path: root/lib/bundler/cli
diff options
context:
space:
mode:
authorFranz Liedke <franz@develophp.org>2023-12-02 19:54:44 +0100
committergit <svn-admin@ruby-lang.org>2023-12-12 01:08:19 +0000
commit0ec88b54f34ee0b0197f963ad6a98a2390a91de7 (patch)
tree36fcb0dbb2a683ad1b218df69ad7e3e9ef034923 /lib/bundler/cli
parent8c2480c9edf7d20505a8c3491ec84a3fdd77bd2e (diff)
[rubygems/rubygems] bundle lock: Always touch the lockfile
https://github.com/rubygems/rubygems/commit/fd2e71dfdb
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r--lib/bundler/cli/lock.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli/lock.rb b/lib/bundler/cli/lock.rb
index 7247121df5..960357493d 100644
--- a/lib/bundler/cli/lock.rb
+++ b/lib/bundler/cli/lock.rb
@@ -64,6 +64,7 @@ module Bundler
file = file ? File.expand_path(file) : Bundler.default_lockfile
puts "Writing lockfile to #{file}"
definition.lock(file)
+ FileUtils.touch(file)
end
end