mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-19 21:03:51 -07:00
Allow spaces/comments before filewide annotations.
This commit is contained in:
parent
08f7ff37c5
commit
f26038125d
2 changed files with 21 additions and 0 deletions
|
@ -2563,6 +2563,7 @@ readScriptFile = do
|
|||
verifyShell pos (getShell sb)
|
||||
if isValidShell (getShell sb) /= Just False
|
||||
then do
|
||||
allspacing
|
||||
annotationId <- getNextId
|
||||
annotations <- readAnnotations
|
||||
commands <- withAnnotations annotations readCompoundListOrEmpty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue