Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
vczh committed Jul 4, 2018
1 parent f46255a commit 0bfee38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tools/GacBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ try {
throw "Input does not exist: $FileName"
}
$FileName = (Resolve-Path -Path $FileName).Path
if (-not (Test-Path -Path "$($FileName).log")) {
if (Test-Path -Path "$($FileName).log") {
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
}
New-Item -ItemType Directory "$($FileName).log" | Out-Null
Expand Down
2 changes: 1 addition & 1 deletion Tools/GacClear.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ try {
throw "Input does not exist: $FileName"
}
$FileName = (Resolve-Path -Path $FileName).Path
if (-not (Test-Path -Path "$($FileName).log")) {
if (Test-Path -Path "$($FileName).log") {
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
}
New-Item -ItemType Directory "$($FileName).log" | Out-Null
Expand Down

0 comments on commit 0bfee38

Please sign in to comment.