Merge pull request #16232 from Bo98/vendor-gems-lock-add

dev-cmd/vendor-gems: git add Gemfile.lock
This commit is contained in:
Bo Anderson 2023-11-17 17:58:26 +00:00 committed by GitHub
commit e9f05fea44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ module Homebrew
# Although we don't use 2.4.21, Dependabot does as it currently ignores your lockfile version.
# https://github.com/rubygems/rubygems/issues/7169
safe_system "bundle", "lock", "--add-platform", "aarch64-linux", "arm-linux"
system "git", "add", "Gemfile.lock" unless args.no_commit?
if args.non_bundler_gems?
%w[