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