fix tests
CI / verify (pull_request) Successful in 9s

This commit is contained in:
2026-10-04 12:55:04 +02:00
parent f527778b29
commit 74f2fa8f46
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ import {
symlink,
writeFile,
} from "node:fs/promises";
import { tmpdir } from "node:os";
import { dirname, join } from "node:path";
import { createHash } from "node:crypto";
import { install } from "../scripts/install.js";
@@ -56,7 +57,7 @@ async function run(
return { exitCode, stdout, stderr };
}
async function fixture() {
const directory = await mkdtemp("/tmp/opencode/plugin-install-");
const directory = await mkdtemp(join(tmpdir(), "plugin-install-"));
directories.push(directory);
const source = join(directory, "package with spaces");
const config = join(directory, "config with spaces");