Skip to content

Commit 26895fe

Browse files
committed
fix url when opening result files
1 parent 0561796 commit 26895fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotcode/language_server/robotframework/parts/robocop_diagnostics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ async def run_check(self, ast_model, filename, source=None): # type: ignore
138138
issues = await analyser.run_check( # type: ignore
139139
await self.parent.documents_cache.get_model(document, False),
140140
str(document.uri.to_path()),
141-
await document.text(),
141+
document.text,
142142
)
143143

144144
for issue in issues:

0 commit comments

Comments
 (0)