From cfad1f95d50c76cf66b8539a34b67cb72323848e Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Thu, 22 Aug 2024 17:12:32 -0700 Subject: [PATCH] [rubygems/rubygems] Fix missing 'msg' parameter in Shell#no? https://github.com/rubygems/rubygems/commit/ffe89a099a --- lib/bundler/ui/shell.rb | 2 +- lib/bundler/ui/silent.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundler/ui/shell.rb b/lib/bundler/ui/shell.rb index 4555612dbb..899f3dcb87 100644 --- a/lib/bundler/ui/shell.rb +++ b/lib/bundler/ui/shell.rb @@ -84,7 +84,7 @@ module Bundler @shell.yes?(msg) end - def no? + def no?(msg) @shell.no?(msg) end diff --git a/lib/bundler/ui/silent.rb b/lib/bundler/ui/silent.rb index fa3292bdc9..104b3d993d 100644 --- a/lib/bundler/ui/silent.rb +++ b/lib/bundler/ui/silent.rb @@ -60,7 +60,7 @@ module Bundler raise "Cannot ask yes? with a silent shell" end - def no? + def no?(msg) raise "Cannot ask no? with a silent shell" end