diff options
author | Jerome Dalbert <[email protected]> | 2024-07-25 02:02:21 -0700 |
---|---|---|
committer | git <[email protected]> | 2024-07-26 07:56:15 +0000 |
commit | 71dec15a70593d769804f4310c4746aba0883fae () | |
tree | 8034a712622948fb49075bf2537996a0cd39d73a /spec/bundler/commands/check_spec.rb | |
parent | 3542ad52e2e05ffb7507b3effccc184b1d8bdcfa (diff) |
[rubygems/rubygems] Fix bundle check exit code when git gem is missing
Make `bundle check` exit with code 1 when gem git source is not yet checked out. https://.com/rubygems/rubygems/commit/93162bf5af
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -70,6 +70,17 @@ RSpec.describe "bundle check" do expect(err).to include("Bundler can't satisfy your Gemfile's dependencies.") end it "prints a generic message if you changed your lockfile" do build_repo2 do build_gem "rails_pinned_to_old_activesupport" do |s| |