We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6436b2b commit e34420fCopy full SHA for e34420f
src/core/temp.ts
@@ -55,6 +55,9 @@ export function globalTempContext() {
55
}
56
57
export function createTempContext(options?: Deno.MakeTempOptions): TempContext {
58
+ if (options?.dir) {
59
+ ensureDirSync(options?.dir);
60
+ }
61
let dir: string | undefined = Deno.makeTempDirSync({
62
dir: tempDir,
63
...options,
0 commit comments