Handle repo paths without files dir

This commit is contained in:
2026-02-19 20:18:17 +00:00
parent 38d7935b31
commit f11f1988e6

View File

@@ -156,7 +156,7 @@ func resolvePathSpec(pathSpec, repoAbs string) (string, string, error) {
relPath := filepath.Join(parts[2:]...) relPath := filepath.Join(parts[2:]...)
return pkg, relPath, nil return pkg, relPath, nil
} }
return pkg, "", nil return pkg, filepath.Join(parts[1:]...), nil
} }
} }