mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 21:41:34 -07:00
Make ShellCheck not emit warnings about the shebang if the shell
type is determined from the extension
This commit is contained in:
parent
a4b9cec9f0
commit
1e6a30905a
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ makeParameters spec =
|
|||
Sh -> False
|
||||
Ksh -> True,
|
||||
|
||||
shellTypeSpecified = isJust $ asShellType spec,
|
||||
shellTypeSpecified = isJust (asShellType spec) || isJust (asFallbackShell spec),
|
||||
parentMap = getParentTree root,
|
||||
variableFlow = getVariableFlow params root,
|
||||
tokenPositions = asTokenPositions spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue