mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-30 11:39:20 -07:00
Allow export "foo"="bar" in 2140
This commit is contained in:
parent
bff5d11566
commit
30c0c1f27d
1 changed files with 1 additions and 1 deletions
|
@ -1740,7 +1740,7 @@ checkInexplicablyUnquoted _ (T_NormalWord id tokens) = mapM_ check (tails tokens
|
|||
case trapped of
|
||||
T_DollarExpansion id _ -> warnAboutExpansion id
|
||||
T_DollarBraced id _ -> warnAboutExpansion id
|
||||
T_Literal id s -> unless (s == "/") $ warnAboutLiteral id
|
||||
T_Literal id s -> unless (s == "/" || s == "=") $ warnAboutLiteral id
|
||||
_ -> return ()
|
||||
|
||||
check _ = return ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue