File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ def lockfile_changes_summary(update_refused_reason)
533533
534534 return unless added . any? || deleted . any? || changed . any? || resolve_needed?
535535
536- msg = String . new ( "#{ change_reason . capitalize . strip } , but " )
536+ msg = String . new ( "#{ change_reason [ 0 ] . upcase } #{ change_reason [ 1 ..- 1 ] . strip } , but " )
537537 msg << "the lockfile " unless msg . start_with? ( "Your lockfile" )
538538 msg << "can't be updated because #{ update_refused_reason } "
539539 msg << "\n \n You have added to the Gemfile:\n " << added . join ( "\n " ) if added . any?
Original file line number Diff line number Diff line change 18091809 system_gems "bundler-9.9.9" , path : local_gem_path
18101810
18111811 bundle "update --bundler=9.9.9" , env : { "BUNDLE_FROZEN" => "true" } , raise_on_error : false
1812- expect ( err ) . to include ( "An update to the version of bundler itself was requested, but the lockfile can't be updated because frozen mode is set" )
1812+ expect ( err ) . to include ( "An update to the version of Bundler itself was requested, but the lockfile can't be updated because frozen mode is set" )
18131813 end
18141814end
18151815
Original file line number Diff line number Diff line change 16381638 G
16391639
16401640 expect ( err ) . to eq <<~L . strip
1641- Your lockfile is missing a checksums entry for \" myrack_middleware\" , but can't be updated because frozen mode is set
1641+ Your lockfile is missing a CHECKSUMS entry for \" myrack_middleware\" , but can't be updated because frozen mode is set
16421642
16431643 Run `bundle install` elsewhere and add the updated Gemfile.lock to version control.
16441644 L
You can’t perform that action at this time.
0 commit comments