mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Improve the output
This commit is contained in:
@ -23,10 +23,10 @@ try {
|
||||
$URL = $Row.URL
|
||||
$DirName = $Row.Directory
|
||||
if (test-path "$ParentDir/$DirName" -pathType container) {
|
||||
"Skipping 📂$DirName - it exists already ..."
|
||||
"Skipping 📂$DirName because it exists already ..."
|
||||
continue
|
||||
}
|
||||
"⏳ Cloning $URL to 📂$DirName..."
|
||||
"⏳ Cloning $URL to 📂$DirName ..."
|
||||
& git clone --recurse-submodules "$URL" "$ParentDir/$DirName"
|
||||
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
|
||||
$Count++
|
||||
|
Reference in New Issue
Block a user