Don't highlight scripts if resolver returns Failure.
Note that we don't highlight script when ScriptDependenciesFileAttribute is not set.
This commit is contained in:
-2
@@ -88,8 +88,6 @@ class GradleScriptDefinitionsContributor(private val project: Project) : ScriptD
|
||||
return loadDefinitions()
|
||||
}
|
||||
|
||||
override fun isError() = failedToLoad.get()
|
||||
|
||||
// NOTE: control flow here depends on suppressing exceptions from loadGradleTemplates calls
|
||||
// TODO: possibly combine exceptions from every loadGradleTemplates call, be mindful of KT-19276
|
||||
private fun loadDefinitions(): List<KotlinScriptDefinition> {
|
||||
|
||||
Reference in New Issue
Block a user