mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 21:11:35 -07:00
Use Map.! instead of reimplementing it
This commit is contained in:
parent
21ad4196db
commit
43c24cf79c
1 changed files with 1 additions and 1 deletions
|
@ -2544,7 +2544,7 @@ checkUnpassedInFunctions params root =
|
|||
name ++ " references arguments, but none are ever passed."
|
||||
|
||||
getFunction ((name, _, _):_) =
|
||||
(name, fromJust $ Map.lookup name functionMap)
|
||||
(name, functionMap Map.! name)
|
||||
|
||||
|
||||
prop_checkOverridingPath1 = verify checkOverridingPath "PATH=\"$var/$foo\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue