Skip to content

Commit 95fdf74

Browse files
committed
Updated pull-repos.ps1
1 parent 2140380 commit 95fdf74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/pull-repos.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
PS> ./pull-repos C:\MyRepos
1010
⏳ (1) Searching for Git executable... git version 2.43.0
1111
⏳ (2) Checking parent folder... 33 subfolders
12-
⏳ (3/35) Pulling into 📂base256U...
12+
⏳ (3/35) Pulling into 'base256U' repo...
1313
...
1414
.LINK
1515
https://github.com/fleschutz/PowerShell
@@ -37,10 +37,10 @@ try {
3737
[int]$numFailed = 0
3838
foreach ($folder in $folders) {
3939
$folderName = (Get-Item "$folder").Name
40-
Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into 📂$folderName...`t`t" -NoNewline
40+
Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into repo '$folderName'...`t`t" -NoNewline
4141

4242
& git -C "$folder" pull --recurse-submodules --jobs=4
43-
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' in 📂$folderName failed" }
43+
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' into 📂$folderName failed" }
4444

4545
& git -C "$folder" submodule update --init --recursive
4646
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git submodule update' in 📂$folderName failed with exit code $lastExitCode" }

0 commit comments

Comments
 (0)