Skip to content

Commit

Permalink
fix(analyzer): fix some spellings
Browse files Browse the repository at this point in the history
closes #339
  • Loading branch information
d-biehl committed Oct 23, 2024
1 parent b34daae commit b622c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/robot/src/robotcode/robot/diagnostics/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@final
class Error:
VARIABLE_NOT_FOUND = "VariableNotFound"
ENVIROMMENT_VARIABLE_NOT_FOUND = "EnvirommentVariableNotFound"
ENVIRONMENT_VARIABLE_NOT_FOUND = "EnvironmentVariableNotFound"
KEYWORD_NOT_FOUND = "KeywordNotFound"
LIBRARY_CONTAINS_NO_KEYWORDS = "LibraryContainsNoKeywords"
POSSIBLE_CIRCULAR_IMPORT = "PossibleCircularImport"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def _handle_find_variable_result(
range=range_from_token(var_token),
message=f"Environment variable '{var.name}' not found.",
severity=severity,
code=Error.ENVIROMMENT_VARIABLE_NOT_FOUND,
code=Error.ENVIRONMENT_VARIABLE_NOT_FOUND,
)

if var.type == VariableDefinitionType.ENVIRONMENT_VARIABLE:
Expand Down

0 comments on commit b622c42

Please sign in to comment.