mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 23:43:48 +08:00
Remove duplicate pathTo
and unused replaceMultiLines
This commit is contained in:
@@ -380,10 +380,6 @@ isParentOf tree parent child =
|
||||
|
||||
parents params = getPath (parentMap params)
|
||||
|
||||
pathTo t = do
|
||||
parents <- reader parentMap
|
||||
return $ getPath parents t
|
||||
|
||||
-- Find the first match in a list where the predicate is Just True.
|
||||
-- Stops if it's Just False and ignores Nothing.
|
||||
findFirst :: (a -> Maybe Bool) -> [a] -> Maybe a
|
||||
|
Reference in New Issue
Block a user