Fix typo in pull-repos.ps1

This commit is contained in:
Markus Fleschutz 2022-11-05 15:53:36 +01:00
parent d229091281
commit 3ccce3044a

View File

@ -23,7 +23,7 @@ try {
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
$ParentDirName = (Get-Item "$ParentDir").Name
Write-Host "⏳ (29 Checking folder 📂$ParentDirName... " -NoNewline
Write-Host "⏳ (2) Checking folder 📂$ParentDirName... " -NoNewline
if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" }
$Folders = (Get-ChildItem "$ParentDir" -attributes Directory)
$NumFolders = $Folders.Count
@ -50,4 +50,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}