mirror of
https://github.com/apple/pkl.git
synced 2026-04-17 14:09:48 +02:00
Avoid resolving paths on fragments (#357)
Fixes an issue where modules with fragment paths are resolved against the URI path.
This commit is contained in:
committed by
GitHub
parent
c9ed183891
commit
e347b26cf6
@@ -161,7 +161,7 @@ data class DocPackageInfo(
|
||||
"pkl:/" -> "pkl:${moduleName.substring(4)}".toUri()
|
||||
else -> {
|
||||
val path = getModulePath(moduleName, moduleNamePrefix).uriEncoded + ".pkl"
|
||||
URI(importUri).resolve(path)
|
||||
URI(importUri + path)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user