mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 13:31:36 -07:00
Added check for "#!/usr/bin/env bash -x"
This commit is contained in:
parent
3c2d9557e0
commit
1a4301ea98
2 changed files with 11 additions and 2 deletions
|
@ -1338,8 +1338,8 @@ wtf = do
|
|||
readShebang = do
|
||||
try $ string "#!"
|
||||
str <- anyChar `reluctantlyTill` oneOf "\r\n"
|
||||
optional $ carriageReturn
|
||||
linefeed
|
||||
optional carriageReturn
|
||||
optional linefeed
|
||||
return str
|
||||
|
||||
readScript = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue