Skip to content

Commit

Permalink
Modify logic in OSCompilerPluginUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinAkash01 committed Feb 19, 2025
1 parent 0347400 commit be812fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ private static boolean isOsModule(SyntaxNodeAnalysisContext context) {
}

public static Document getDocument(SyntaxNodeAnalysisContext context) {
return context.currentModule().document(context.node().location().lineRange().filePath());
return context.currentPackage().module(context.moduleId()).document(context.documentId());
}
}

0 comments on commit be812fd

Please sign in to comment.