Update clean-repo.ps1

This commit is contained in:
Markus Fleschutz 2022-04-26 16:04:21 +02:00
parent 7e0bee76d6
commit d3f95bb4b7

View File

@ -22,7 +22,7 @@ try {
"⏳ Step 1/3: Checking requirements..."
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access repository folder at: $RepoDir - maybe a typo or missing folder permissions?" }
& git --version
$null = (git --version)
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
"⏳ Step 2/3: Cleaning repository..."