We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90cb63a commit 402d574Copy full SHA for 402d574
1 file changed
package/src/util/cmd.ts
@@ -28,11 +28,6 @@ export async function runCmd(
28
stdout: "piped",
29
stderr: "piped",
30
});
31
- // const p = Deno.run({
32
- // cmd,
33
- // stdout: "piped",
34
- // stderr: "piped",
35
- // });
36
const output = await cmd.output();
37
const stdout = new TextDecoder().decode(output.stdout);
38
const stderr = new TextDecoder().decode(output.stderr);
@@ -46,9 +41,6 @@ export async function runCmd(
46
41
throw Error(`Command ${[runCmd, ...args]} failed.`);
47
42
}
48
43
49
- // Close the child process
50
- // p.close();
51
-
52
44
return {
53
45
status: output,
54
stdout,
0 commit comments