Merge pull request #1159 from geirha/patch-1
Consider type a valid command in sh
This commit is contained in:
commit
ef28200199
|
@ -277,7 +277,7 @@ checkBashisms = ForShell [Sh, Dash] $ \t -> do
|
|||
"let", "caller", "builtin", "complete", "compgen", "declare", "dirs", "disown",
|
||||
"enable", "mapfile", "readarray", "pushd", "popd", "shopt", "suspend",
|
||||
"typeset"
|
||||
] ++ if not isDash then ["local", "type"] else []
|
||||
] ++ if not isDash then ["local"] else []
|
||||
allowedFlags = Map.fromList [
|
||||
("exec", []),
|
||||
("export", ["-p"]),
|
||||
|
|
Loading…
Reference in New Issue