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 @@ -531,7 +531,7 @@ def lockfile_changes_summary(update_refused_reason)
531531
532532 return unless added . any? || deleted . any? || changed . any? || resolve_needed?
533533
534- msg = String . new ( "#{ change_reason . capitalize . strip } , but " )
534+ msg = String . new ( "#{ change_reason [ 0 ] . upcase } #{ change_reason [ 1 ..- 1 ] . strip } , but " )
535535 msg << "the lockfile " unless msg . start_with? ( "Your lockfile" )
536536 msg << "can't be updated because #{ update_refused_reason } "
537537 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 18521852 system_gems "bundler-9.9.9" , path : local_gem_path
18531853
18541854 bundle "update --bundler=9.9.9" , env : { "BUNDLE_FROZEN" => "true" } , raise_on_error : false
1855- 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" )
1855+ 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" )
18561856 end
18571857end
18581858
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