diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-16 12:42:39 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:59 +0900 |
commit | bb6b9b49293378cb48510e27a98db152824658cd (patch) | |
tree | b5d264a1528b95c83594cdc8cb9404cce11b8b87 /lib/bundler/templates/Executable.bundler | |
parent | bd0f19f137a952f5f8b838537f473385b204ed78 (diff) | |
download | ruby-bb6b9b49293378cb48510e27a98db152824658cd.tar.gz |
[bundler/bundler] Remove redundant begin-end block
https://github.com/bundler/bundler/commit/1d017c3f36
Diffstat (limited to 'lib/bundler/templates/Executable.bundler')
-rw-r--r-- | lib/bundler/templates/Executable.bundler | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/templates/Executable.bundler b/lib/bundler/templates/Executable.bundler index 5fe16176f6..5b49648a1b 100644 --- a/lib/bundler/templates/Executable.bundler +++ b/lib/bundler/templates/Executable.bundler @@ -61,10 +61,9 @@ m = Module.new do end def bundler_version - @bundler_version ||= begin + @bundler_version ||= env_var_version || cli_arg_version || lockfile_version || "#{Gem::Requirement.default}.a" - end end def load_bundler! |