Skip to content

Commit

Permalink
Fix stray dot in warning messages (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Feb 22, 2021
1 parent 20db8f1 commit 6cb565e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ def is_default(validator, properties, instance, schema):
item in ["devices", "gpio", "uart", "usb"] for item in configuration
):
print(
f"::error file={config}::'full_access', don't add 'devices', 'uart', 'usb' or 'gpio' this is not needed".
f"::error file={config}::'full_access', don't add 'devices', 'uart', 'usb' or 'gpio' this is not needed"
)
exit_code = 1

if configuration.get("full_access"):
print(
f"::warning file={config}::'full_access' consider using other options instead, like 'devices'".
f"::warning file={config}::'full_access' consider using other options instead, like 'devices'"
)

if "auto_uart" in configuration:
Expand Down

0 comments on commit 6cb565e

Please sign in to comment.