fix: 0.91 删除了文件路径类型
This commit is contained in:
parent
fed178ca63
commit
306aa0c6f1
@ -35,6 +35,8 @@ export def --env declare [
|
||||
# 遍历 local 路径,获得映射
|
||||
mut new_maps = []
|
||||
for $local in $locals {
|
||||
# 解析原文件路径为绝对路径
|
||||
let local = ($local | path expand -n)
|
||||
let dest = if ($type == "list<string>") {
|
||||
# 对于文件列表(如 glob),把文件名追加在最后
|
||||
$dest | path join ($local | path basename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user