[minor] fix source root creation from imported scripts:
make the usages of KotlinSourceRoot consistent everywhere
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ fun collectScriptsCompilationDependencies(
|
||||
|
||||
val sourceDependenciesRoots = refinedConfiguration.value.importedScripts.mapNotNull {
|
||||
// TODO: support any kind of ScriptSource.
|
||||
val path = (it as? FileBasedScriptSource)?.file?.path ?: return@mapNotNull null
|
||||
val path = (it as? FileBasedScriptSource)?.file?.absolutePath ?: return@mapNotNull null
|
||||
KotlinSourceRoot(path, false)
|
||||
}
|
||||
val sourceDependencies =
|
||||
|
||||
Reference in New Issue
Block a user