Skip to content

Commit

Permalink
lint: clarify the need to update configlet (#504)
Browse files Browse the repository at this point in the history
Before this commit, the message incorrectly implied that just re-running
`configlet lint` was sufficient to use the latest linting rules. Clarify
that the user must update configlet first.
  • Loading branch information
ee7 authored Jan 26, 2022
1 parent 3171b11 commit fe3e7e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lint/lint.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ proc allChecksPass(trackDir: Path): bool =
proc lint*(conf: Conf) =
echo """
The lint command is under development.
Please re-run this command regularly to see if your track passes the latest linting rules.
To check your track using the latest linting rules,
please regularly update configlet and re-run this command.
""".unindent()

let trackDir = Path(conf.trackDir)
Expand Down

0 comments on commit fe3e7e4

Please sign in to comment.