mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Improve both scripts
This commit is contained in:
@ -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++
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user