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 79f35d7 commit 5a2d402Copy full SHA for 5a2d402
Build/build-functions.psm1
@@ -10,9 +10,11 @@ if ($msbuild) {
10
}
11
12
function Remove-ArtifactsDir {
13
- write-host -foreground blue "Clean up...`n"
14
- rm $artifactsDir -Recurse -Force -ErrorAction Stop
15
- write-host -foreground blue "Clean up...END`n"
+ if (Test-Path $artifactsDir) {
+ write-host -foreground blue "Clean up...`n"
+ rm $artifactsDir -Recurse -Force -ErrorAction Stop
16
+ write-host -foreground blue "Clean up...END`n"
17
+ }
18
19
20
function Update-GeneratedCode {
0 commit comments