mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
fix(cli/tests): printf.exe doesn't exist on windows (#8404)
This commit is contained in:
parent
6bb5fedc69
commit
f4ac2b1475
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ const test: { [key: string]: (...args: any[]) => void | Promise<void> } = {
|
|||
},
|
||||
runRequired(): void {
|
||||
const p = Deno.run({
|
||||
cmd: ["printf", "hello"],
|
||||
cmd: Deno.build.os === "windows"
|
||||
? ["cmd.exe", "/c", "echo hello"]
|
||||
: ["printf", "hello"],
|
||||
});
|
||||
p.close();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue