8000 [build-script-helper] Avoid capturing stderr in path · swiftlang/swift-syntax@b1b0332 · GitHub
[go: up one dir, main page]

Skip to content

Commit b1b0332

Browse files
committed
[build-script-helper] Avoid capturing stderr in path
When asking swiftpm for a path, don't include stderr, which could include warning messages. rdar://71605815
1 parent 594a4f4 commit b1b0332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def find_lit_test_helper_exec(toolchain, build_dir, release):
409409
swiftpm_call.extend(["--product", "lit-test-helper"])
410410
swiftpm_call.extend(["--show-bin-path"])
411411

412-
bin_dir = subprocess.check_output(swiftpm_call, stderr=subprocess.STDOUT)
412+
bin_dir = subprocess.check_output(swiftpm_call)
413413
return os.path.join(bin_dir.strip(), "lit-test-helper")
414414

415415

0 commit comments

Comments
 (0)
0