Skip to content

Commit

Permalink
fix: node.js debugger adds stderr (but exit code is 0) -> shouldn't t…
Browse files Browse the repository at this point in the history
…hrow
  • Loading branch information
FuPeiJiang committed Aug 19, 2022
1 parent 8958ecf commit 975e98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/input.py
Expand Up @@ -979,7 +979,7 @@ def ExpandVariables(input, phase, variables, build_file):
p_stdout = p_stdout.decode("utf-8")
p_stderr = p_stderr.decode("utf-8")

if p.wait() != 0 or p_stderr:
if p.wait() != 0:
sys.stderr.write(p_stderr)
# Simulate check_call behavior, since check_call only exists
# in python 2.5 and later.
Expand Down

0 comments on commit 975e98a

Please sign in to comment.