diff options
author | Franz Liedke <franz@develophp.org> | 2023-12-04 09:15:58 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-12-12 01:08:20 +0000 |
commit | 6414f260fc64878dc32f6899f5cecfac9908d26d (patch) | |
tree | 0d177dde6e597c60437e6bf09627d3641f7c5cfa /lib/bundler/definition.rb | |
parent | 0653fb026cd2203158b7af1e8b9608911dce2860 (diff) | |
download | ruby-6414f260fc64878dc32f6899f5cecfac9908d26d.tar.gz |
[rubygems/rubygems] Refactor: Wrap filesystem access
https://github.com/rubygems/rubygems/commit/119d4bdc09
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index a19c2ddf78..1de9a72932 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -343,7 +343,7 @@ module Bundler preserve_unknown_sections ||= !updating_major && (Bundler.frozen_bundle? || !(unlocking? || @unlocking_bundler)) if file && File.exist?(file) && lockfiles_equal?(@lockfile_contents, contents, preserve_unknown_sections) - FileUtils.touch(file) + SharedHelpers.filesystem_access(file) {|p| FileUtils.touch(p) } return end |