Skip to content

Commit 5375f4a

Browse files
Merge pull request #2668 from tsa96/fix/rimraf-windows-glob
fix(docs): asset cleaning errors on windows
2 parents 146a163 + b9f41d1 commit 5375f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/transforms/nestjs-package/processors/cleanGeneratedFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class CleanGeneratedFiles implements Processor {
99
$runAfter = ['writing-files'];
1010
$runBefore = ['writeFilesProcessor'];
1111
$process() {
12-
rimraf.sync(`${OUTPUT_PATH}/{docs,*.json}`);
12+
rimraf.sync(`${OUTPUT_PATH}/{docs,*.json}`, { glob: true });
1313
}
1414
}
1515

0 commit comments

Comments
 (0)