dev-cmd/vendor-gems: git add Gemfile.lock

This commit is contained in:
Bo Anderson 2023-11-17 17:48:26 +00:00
parent 78b7d7e2d6
commit 34b1f37846
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

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