Skip to content

Commit d934ec3

Browse files
committed
Correct robocop shows false "Invalid number of empty lines between sections" fixes #46
1 parent 1eecaec commit d934ec3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ All notable changes to the "robotcode" extension will be documented in this file
55
## [Unreleased]
66

77
### added
8-
- Analyse variables in documentation or metadata settings shows a hint instead of an error
8+
- Analyse variables in documentation or metadata settings shows a hint instead of an error if variable is not found
9+
- fixes [#47](https://github.com/d-biehl/robotcode/issues/47)
10+
- Correct robocop shows false "Invalid number of empty lines between sections"
11+
- fixes [#46](https://github.com/d-biehl/robotcode/issues/46)]
912

1013
## 0.10.0
1114

robotcode/language_server/robotframework/parts/robocop_diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async def run_check(self, ast_model, filename, source=None): # type: ignore
123123

124124
# TODO find a way to cancel the run_check
125125
issues = await analyser.run_check( # type: ignore
126-
await self.parent.documents_cache.get_model(document),
126+
await self.parent.documents_cache.get_model(document, False),
127127
str(document.uri.to_path()),
128128
await document.text(),
129129
)

0 commit comments

Comments
 (0)