mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 18:17:53 +08:00
Improve SC1059 error message
This commit is contained in:
@@ -2566,7 +2566,7 @@ readDoGroup kwId = do
|
||||
parseProblem ErrorC 1058 "Expected 'do'."
|
||||
return "Expected 'do'"
|
||||
|
||||
acceptButWarn g_Semi ErrorC 1059 "No semicolons directly after 'do'."
|
||||
acceptButWarn g_Semi ErrorC 1059 "Semicolon is not allowed directly after 'do'. You can just delete it."
|
||||
allspacing
|
||||
|
||||
optional (do
|
||||
|
Reference in New Issue
Block a user