mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 10:11:27 +01:00
Improve clone-repos.ps1
This commit is contained in:
parent
f78a9390cb
commit
6f9eb23523
@ -24,7 +24,7 @@ try {
|
|||||||
write-output "Skipping existing $Directory ..."
|
write-output "Skipping existing $Directory ..."
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
write-output "⏳ Cloning from $URL..."
|
write-output "⏳ Cloning $URL..."
|
||||||
& git clone --recurse-submodules $URL
|
& git clone --recurse-submodules $URL
|
||||||
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
|
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user