ci
This commit is contained in:
parent
63d9656ad8
commit
cb188f907f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export async function tmpdir<T>(options?: TmpDirOptions<T>) {
|
||||||
const result = {
|
const result = {
|
||||||
[Symbol.asyncDispose]: async () => {
|
[Symbol.asyncDispose]: async () => {
|
||||||
await options?.dispose?.(dirpath)
|
await options?.dispose?.(dirpath)
|
||||||
await fs.rm(dirpath, { recursive: true, force: true })
|
// await fs.rm(dirpath, { recursive: true, force: true })
|
||||||
},
|
},
|
||||||
path: realpath,
|
path: realpath,
|
||||||
extra: extra as T,
|
extra: extra as T,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue