Improve both scripts

This commit is contained in:
Markus Fleschutz
2021-04-14 20:02:04 +02:00
parent 6e5d0d05cb
commit a829a7c92d
2 changed files with 27 additions and 5 deletions

View File

@ -18,8 +18,6 @@ try {
[int]$Count = 0
get-childItem $ParentDir -attributes Directory | foreach-object {
& "$PSScriptRoot/build-repo.ps1" "$($_.FullName)"
if ($lastExitCode -ne "0") { throw "Script 'build-repo.ps1' failed" }
$Count++
}