bugfix: use $tmp dir if no destination provided

This commit is contained in:
Baipyrus 2024-10-21 21:06:26 +02:00
parent 7378dacaa5
commit 7d8872d70d

View File

@ -126,6 +126,12 @@ function ProcessUrlFiles
}
continue
}
# Use $tmpApp as destination in case of git repo
if (-not $destinationDir)
{ $destinationPath = "$tmpApp\$fileName"
}
# If the URL is a git repository, pull it
if (IsGitRepository -dir $destinationPath -url $url)
{