Skip to content

Commit 257b725

Browse files
committed
Make stderr silent by default
1 parent c454897 commit 257b725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/helpers/subprocess_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def run_subprocess(script, cwd, env, stdout:, stderr:)
1919
expect(process.exit_code).to eq(0)
2020
end
2121

22-
def run_in_subprocess(code, cwd: Dir.pwd, env: {}, stdout: $stdout, stderr: $stderr)
22+
def run_in_subprocess(code, cwd: Dir.pwd, env: {}, stdout: $stdout, stderr: nil)
2323
Tempfile.open do |script|
2424
script.write(code)
2525
script.close

0 commit comments

Comments
 (0)