chore: fix child_process test (#22845)

This was failing in old versions of git.
This commit is contained in:
David Sherret 2024-03-11 11:45:36 -04:00 committed by GitHub
parent 644ac0fe43
commit 670e9a9be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -786,7 +786,7 @@ Deno.test(async function execFileWithUndefinedTimeout() {
const { promise, resolve, reject } = Promise.withResolvers<void>();
CP.execFile(
"git",
["-v"],
["--version"],
{ timeout: undefined, encoding: "utf8" },
(err) => {
if (err) {