Skip to content

Commit 796ad25

Browse files
committed
Pass options as hash
1 parent 2185a65 commit 796ad25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/commands.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run(*argv)
4848
opts = {}
4949
opts[:chdir] = @cwd if @cwd
5050
Bundler.with_unbundled_env do
51-
stdout, stderr, status = Open3.capture3(@env, *argv, **opts)
51+
stdout, stderr, status = Open3.capture3(@env, *argv, opts)
5252
Result.new(stdout: stdout, stderr: stderr, exit_code: status.exitstatus)
5353
end
5454
end

0 commit comments

Comments
 (0)