summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/update.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-06-22 17:20:43 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-19 13:10:39 -0500
commit8ccf49c3b4a086f1e0cad2130dc30c04304175b7 (patch)
treede546229a7f32d7d3e0d5adf9699001f2b1a8057 /lib/bundler/cli/update.rb
parent04fd47b1221edabbb46caf34798e5340bc46e1ec (diff)
downloadbundler-8ccf49c3b4a086f1e0cad2130dc30c04304175b7.tar.gz
[Settings] Stop remembering CLI options in Bundler 2
Diffstat (limited to 'lib/bundler/cli/update.rb')
-rw-r--r--lib/bundler/cli/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/update.rb b/lib/bundler/cli/update.rb
index 952076566f..c2391fa76d 100644
--- a/lib/bundler/cli/update.rb
+++ b/lib/bundler/cli/update.rb
@@ -56,7 +56,7 @@ module Bundler
opts["update"] = true
opts["local"] = options[:local]
- Bundler.settings[:jobs] = opts["jobs"] if opts["jobs"]
+ Bundler.settings.set_command_option_if_given :jobs, opts["jobs"]
Bundler.definition.validate_runtime!
installer = Installer.install Bundler.root, Bundler.definition, opts