mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-10 04:10:26 +00:00
ci
This commit is contained in:
parent
3512d02e9e
commit
63d9656ad8
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import fs from "fs/promises"
|
|||
|
||||
const dir = path.join(os.tmpdir(), "opencode-test-data-" + process.pid)
|
||||
await fs.mkdir(dir, { recursive: true })
|
||||
process.env["XDG_DATA_HOME"] = path.join(dir, "data")
|
||||
process.env["XDG_DATA_HOME"] = path.join(dir, "share")
|
||||
process.env["XDG_CACHE_HOME"] = path.join(dir, "cache")
|
||||
process.env["XDG_CONFIG_HOME"] = path.join(dir, "config")
|
||||
process.env["XDG_STATE_HOME"] = path.join(dir, "state")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue