Improve the output

This commit is contained in:
Markus Fleschutz
2021-04-21 12:22:41 +02:00
parent 0c50ee42d5
commit f170bc831c
2 changed files with 9 additions and 7 deletions

View File

@ -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++