Skip to content

Commit b622c42

Browse files
committed
fix(analyzer): fix some spellings
closes #339
1 parent b34daae commit b622c42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/robot/src/robotcode/robot/diagnostics/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@final
77
class Error:
88
VARIABLE_NOT_FOUND = "VariableNotFound"
9-
ENVIROMMENT_VARIABLE_NOT_FOUND = "EnvirommentVariableNotFound"
9+
ENVIRONMENT_VARIABLE_NOT_FOUND = "EnvironmentVariableNotFound"
1010
KEYWORD_NOT_FOUND = "KeywordNotFound"
1111
LIBRARY_CONTAINS_NO_KEYWORDS = "LibraryContainsNoKeywords"
1212
POSSIBLE_CIRCULAR_IMPORT = "PossibleCircularImport"

packages/robot/src/robotcode/robot/diagnostics/namespace_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _handle_find_variable_result(
476476
range=range_from_token(var_token),
477477
message=f"Environment variable '{var.name}' not found.",
478478
severity=severity,
479-
code=Error.ENVIROMMENT_VARIABLE_NOT_FOUND,
479+
code=Error.ENVIRONMENT_VARIABLE_NOT_FOUND,
480480
)
481481

482482
if var.type == VariableDefinitionType.ENVIRONMENT_VARIABLE:

0 commit comments

Comments
 (0)