mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 05:21:34 -07:00
Upgrade SC2169 (unsupported in dash) from warning to error (fixes #2013)
This commit is contained in:
parent
a62d9f10c2
commit
9e59bcca91
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ checkBashisms = ForShell [Sh, Dash] $ \t -> do
|
|||
isDash = shellType params == Dash
|
||||
warnMsg id s =
|
||||
if isDash
|
||||
then warn id 2169 $ "In dash, " ++ s ++ " not supported."
|
||||
then err id 2169 $ "In dash, " ++ s ++ " not supported."
|
||||
else warn id 2039 $ "In POSIX sh, " ++ s ++ " undefined."
|
||||
|
||||
bashism (T_ProcSub id _ _) = warnMsg id "process substitution is"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue