Skip to content

Commit a279934

Browse files
test(miner): type tempEnv as ProcessEnv for replay-snapshot resolve
validate-code failed: resolveReplaySnapshotDbPath expects NodeJS.ProcessEnv. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 57ebd9a commit a279934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/miner-migrate-cli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { openWorktreeAllocator, resolveWorktreeAllocatorDbPath } from "../../pac
1414

1515
const roots: string[] = [];
1616

17-
function tempEnv() {
17+
function tempEnv(): NodeJS.ProcessEnv {
1818
const root = mkdtempSync(join(tmpdir(), "loopover-miner-migrate-"));
1919
roots.push(root);
2020
return { LOOPOVER_MINER_CONFIG_DIR: join(root, "state") };

0 commit comments

Comments
 (0)