Skip to content

Commit 414403f

Browse files
committed
test - don't remove project dir when no output dir.
1 parent eda2ff8 commit 414403f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/smoke/smoke-all.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Promise.all(testFilesPromises).then(() => {
325325
for (const project of testedProjects) {
326326
// Clean project output directory
327327
const projectOutDir = join(project, findProjectOutputDir(project));
328-
if (safeExistsSync(projectOutDir)) {
328+
if (projectOutDir !== project && safeExistsSync(projectOutDir)) {
329329
safeRemoveSync(projectOutDir, { recursive: true });
330330
}
331331
// Clean hidden .quarto directory

0 commit comments

Comments
 (0)