Pill: Fix module-related path rendering
This commit is contained in:
@@ -32,10 +32,7 @@ class ModuleContext(val project: PProject, val module: PModule) : PathContext {
|
|||||||
return file.absolutePath
|
return file.absolutePath
|
||||||
}
|
}
|
||||||
|
|
||||||
return "\$MODULE_DIR\$/" +
|
return "\$MODULE_DIR\$/" + file.toRelativeString(module.moduleFile.parentFile)
|
||||||
project.rootDirectory.toRelativeString(module.moduleFile.parentFile).withSlash() +
|
|
||||||
module.rootDirectory.toRelativeString(project.rootDirectory).withSlash() +
|
|
||||||
file.toRelativeString(module.rootDirectory)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user