Update 1k/fetch.ps1 [skip ci][skip appveyor]

This commit is contained in:
halx99 2024-03-24 05:26:44 +08:00
parent 3555f97a7b
commit 494312a60e
1 changed files with 4 additions and 2 deletions

View File

@ -134,9 +134,11 @@ if (!$is_git_repo) {
if ($match_info.Success) {
$version = $match_info.Value
}
$lib_src = Join-Path $prefix $url_pkg_name
}
else {
$lib_src = Join-Path $prefix $name
}
$lib_src = Join-Path $prefix $name
if (!$version) {
throw "fetch.ps1: can't determine package version of '$name'"