mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improved both scripts
This commit is contained in:
@ -11,7 +11,7 @@ param($RepoDir = "$PWD")
|
||||
try {
|
||||
write-output "Fetching repository $RepoDir ..."
|
||||
|
||||
if (-not(test-path "$RepoDir")) { throw "Repository at $RepoDir is non-existing" }
|
||||
if (-not(test-path "$RepoDir")) { throw "Can't access Git repository at: $RepoDir" }
|
||||
set-location "$RepoDir"
|
||||
|
||||
& git --version
|
||||
|
Reference in New Issue
Block a user