mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 14:30:42 +02:00
Improve build-repos.ps1
This commit is contained in:
parent
6678dea5f7
commit
139e7a4dd9
@ -9,7 +9,6 @@
|
|||||||
param($ParentDir = "$PWD")
|
param($ParentDir = "$PWD")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
"⏳ Building Git repositories at $($ParentDir)..."
|
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
|
|
||||||
if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" }
|
if (-not(test-path "$ParentDir" -pathType container)) { throw "Can't access directory: $ParentDir" }
|
||||||
|
Loading…
Reference in New Issue
Block a user