We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6529074 commit 1c2d2d3Copy full SHA for 1c2d2d3
1 file changed
src/main/kotlin/io/openapiprocessor/intellij/OpenApiPathGist.kt
@@ -44,8 +44,10 @@ private fun findKeys(file: PsiFile): List<YamlKey> {
44
if (file !is YAMLFile)
45
return emptyList()
46
47
- // using save navigation because otherwise it crashes if called from tests
48
- log.debug("indexing file: {}", file?.virtualFile?.path)
+ // this is null if called from MappingAnnotationLineMarkerSpec
+ if (file.virtualFile != null) {
49
+ log.debug("indexing file: {}", file.virtualFile.path)
50
+ }
51
52
val keys = mutableListOf<YamlKey>()
53
0 commit comments