feat: complete REA remediation program

This commit is contained in:
N0zoM1z0
2026-07-22 22:09:12 +09:00
committed by N0zoM1z0
parent 737940c90c
commit d25e98c3f9
460 changed files with 13985 additions and 1877 deletions
+3 -3
View File
@@ -1,7 +1,6 @@
import { execFile } from "node:child_process";
import {
chmod,
mkdtemp,
mkdir,
readFile,
readdir,
@@ -9,12 +8,13 @@ import {
symlink,
writeFile,
} from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { promisify } from "node:util";
import { afterEach, describe, expect, it } from "vitest";
import { createTestTempDirectory } from "./fixtures/temporaryDirectory.js";
const execFileAsync = promisify(execFile);
const roots: string[] = [];
@@ -165,7 +165,7 @@ interface InstallerFixture {
}
const createFixture = async (): Promise<InstallerFixture> => {
const root = await mkdtemp(join(tmpdir(), "rea-install-test-"));
const root = await createTestTempDirectory("rea-install-test-");
roots.push(root);
const home = join(root, "home");
const bin = join(root, "bin");