Step.Run: fix assert of the wrong value (#17303)

closes #16866
This commit is contained in:
Krzysztof Wolicki 2023-09-29 20:14:42 +02:00 committed by GitHub
parent c07d6e4c17
commit e919fbea9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -993,7 +993,7 @@ fn spawnChildAndCollect(
if (self.captured_stdout != null) child.stdout_behavior = .Pipe;
if (self.captured_stderr != null) child.stderr_behavior = .Pipe;
if (self.stdin != .none) {
assert(child.stdin_behavior != .Inherit);
assert(self.stdio != .inherit);
child.stdin_behavior = .Pipe;
}