mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 22:23:59 +08:00
Added check for "#!/usr/bin/env bash -x"
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user