Make ShellCheck not emit warnings about the shebang if the shell

type is determined from the extension
This commit is contained in:
Tito Sacchi 2019-01-14 14:25:01 +01:00
parent a4b9cec9f0
commit 1e6a30905a
2 changed files with 2 additions and 2 deletions

View file

@ -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