diff options
author | Homu <homu@barosl.com> | 2016-10-15 05:06:48 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-10-15 05:06:48 +0900 |
commit | 37ec6051f6442a23b2c524cfdee02a13873a2a61 (patch) | |
tree | aba2e1425d4b27cc0c99729a655e6300ff1e3d1b /lib/bundler/cli | |
parent | 509d50b17e0b77680ec5bdd4737c5ed73f87bd06 (diff) | |
parent | fca76d30dec6c1d3c0cc5459333901240c81deb4 (diff) | |
download | bundler-37ec6051f6442a23b2c524cfdee02a13873a2a61.tar.gz |
Auto merge of #5053 - hmistry:fix-clean-dry-run, r=segiddins
Changed the behavior of 'bundle clean --dry-run' to output the list regardless of path set or force option
Changed the behavior of 'bundle clean --dry-run' to output the list of gems bundle without having the local path set or providing the '--force' option. This change does not affect the actual behavior of 'bundle clean' which requires either the path being set or use of '--force'.
Closes #5027.
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/clean.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/clean.rb b/lib/bundler/cli/clean.rb index 895b6567..5eba09c6 100644 --- a/lib/bundler/cli/clean.rb +++ b/lib/bundler/cli/clean.rb @@ -8,7 +8,7 @@ module Bundler end def run - require_path_or_force + require_path_or_force unless options[:"dry-run"] Bundler.load.clean(options[:"dry-run"]) end |