mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +01:00
Update clean-repo.ps1
This commit is contained in:
parent
7e0bee76d6
commit
d3f95bb4b7
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user