limpiar repro-run

This commit is contained in:
Cat /dev/Nulo 2023-02-17 14:31:05 -03:00
parent 28127eb3ec
commit cd39d860d4

View file

@ -1,6 +1,5 @@
import { chmod, mkdir, readFile, writeFile } from "node:fs/promises";
import { join } from "node:path";
import { Writable } from "node:stream";
import { execFile } from "./better-api.js";
export async function reproRun(opts: {
@ -8,7 +7,7 @@ export async function reproRun(opts: {
// cache/ and rootfs/
cwd: string;
command: string;
cache: string[];
cache?: string[];
}): Promise<void> {
const run = execFile("repro-run", { cwd: opts.cwd });
if (!run.child.stdin) throw false;