Skip to content

Commit bfcc4ea

Browse files
committed
fix null ptr exception
1 parent e1f397e commit bfcc4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/emberjs/EmberXmlElementDescriptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class EmberXmlElementDescriptor(private val tag: XmlTag, private val declaration
9595
return EmberUtils.getComponentReferenceData(followed)
9696
}
9797
val file = f ?: target.containingFile.originalFile
98-
if (this.tag.containingFile.virtualFile.path == file.virtualFile.path) {
98+
if (this.tag.originalVirtualFile?.path == file.originalVirtualFile?.path) {
9999
return ComponentReferenceData()
100100
}
101101

0 commit comments

Comments
 (0)