mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 11:21:46 +00:00
bugfix: do not exit after creating config directory
This commit is contained in:
parent
090e07f04c
commit
0a9a29c119
@ -76,8 +76,8 @@ function ProcessUrlFiles
|
||||
# Ensure the destination directory exists
|
||||
if (-not (Test-Path $destinationDir))
|
||||
{
|
||||
New-Item -ItemType Directory -Path $destinationDir
|
||||
return
|
||||
Write-Host "Creating destination directory $destinationDir ..." -ForegroundColor Cyan
|
||||
New-Item -ItemType Directory -Path $destinationDir 2>$null
|
||||
}
|
||||
|
||||
# Create temporary directory for curl
|
||||
|
Loading…
Reference in New Issue
Block a user