diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2017-09-19 10:37:33 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2017-09-19 10:41:27 +0900 |
commit | a751a2b89ca3e339fe8d30a2672009157424ebb3 (patch) | |
tree | 54b69204cd2149206486c34096d3cdfbb11f9149 | |
parent | 0bc59ff7d4c4a76f3fadac314b4d23d37076e467 (diff) | |
download | bundler-a751a2b89ca3e339fe8d30a2672009157424ebb3.tar.gz |
Fix variable
-rw-r--r-- | lib/bundler/gem_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb index 2d354a5ecb..362f66d0c5 100644 --- a/lib/bundler/gem_helper.rb +++ b/lib/bundler/gem_helper.rb @@ -186,7 +186,7 @@ module Bundler end def sh_with_code(cmd, &block) - out, status = sh_with_code(cmd, &block) + outbuf, status = sh_with_code(cmd, &block) [outbuf, (status&&status.exitstatus)||-1] end |