diff options
author | yoka <[email protected]> | 2022-12-31 10:58:34 +0200 |
---|---|---|
committer | git <[email protected]> | 2023-01-04 13:13:19 +0000 |
commit | 799d805e215e3bdcc2e9bbdb48638a129b50e8f4 (patch) | |
tree | 97d99b666b2f86458c664551e05e3a6e3216bf0d /lib/bundler/cli.rb | |
parent | 87c17a141dc4491abf5282d164f2cba13ade18c4 (diff) |
[rubygems/rubygems] Raise invalid option when bundle open --path is called without a value
https://github.com/rubygems/rubygems/commit/c242311158
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 3f8d0bd0e6..ee73bdb506 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -509,7 +509,7 @@ module Bundler subcommand "config", Config desc "open GEM", "Opens the source directory of the given bundled gem" - method_option "path", :type => :string, :banner => "Open relative path of the gem source." + method_option "path", :type => :string, :lazy_default => "", :banner => "Open relative path of the gem source." def open(name) require_relative "cli/open" Open.new(options, name).run |