+2
-1
@@ -1,5 +1,6 @@
|
||||
import { afterEach, expect, test } from "bun:test";
|
||||
import { mkdir, mkdtemp, rm } from "node:fs/promises";
|
||||
import { tmpdir } from "node:os";
|
||||
import { join } from "node:path";
|
||||
import { command, Herdr } from "../src/herdr.js";
|
||||
|
||||
@@ -10,7 +11,7 @@ afterEach(async () => {
|
||||
});
|
||||
|
||||
async function fixture() {
|
||||
const temporary = await mkdtemp("/tmp/opencode/multi-work-");
|
||||
const temporary = await mkdtemp(join(tmpdir(), "multi-work-"));
|
||||
directories.push(temporary);
|
||||
const root = join(temporary, "root");
|
||||
const destination = join(temporary, "returned checkout");
|
||||
|
||||
Reference in New Issue
Block a user