Skip to content

Commit 9d8c3ad

Browse files
author
Kapil Borle
committed
Run cleanModule only when out folder exists
1 parent ff13bba commit 9d8c3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ task createModule {
189189
Copy-Item -Path "$solutionDir\Engine\Settings" -Destination $destinationDir -Force -Recurse
190190
}
191191

192-
task cleanModule {
192+
task cleanModule -if (Test-Path $outPath) {
193193
Remove-Item -Path out/ -Recurse -Force
194194
}
195195

0 commit comments

Comments
 (0)