Skip to content

Commit 810bbe1

Browse files
committed
create a tempcontext for uniformity with other constructors
1 parent c95f0d9 commit 810bbe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/project/project-context.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,10 @@ export async function projectContext(
430430
dir = originalDir;
431431
configResolvers.shift();
432432
} else if (force) {
433-
const temp = globalTempContext();
433+
const temp = createTempContext({
434+
dir: join(originalDir, ".quarto"),
435+
prefix: "quarto-session-temp",
436+
});
434437
const context: ProjectContext = {
435438
resolveBrand: async (fileName?: string) =>
436439
projectResolveBrand(context, fileName),

0 commit comments

Comments
 (0)