mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 02:27:30 -07:00
Fuse maps
This commit is contained in:
parent
953d9bc56d
commit
2cfd1f2714
2 changed files with 2 additions and 2 deletions
|
@ -507,7 +507,7 @@ ioInterface options files = do
|
|||
where
|
||||
find filename deflt = do
|
||||
sources <- findM ((allowable inputs) `andM` doesFileExist) $
|
||||
(adjustPath filename):(map (</> filename) $ map adjustPath $ sourcePathFlag ++ sourcePathAnnotation)
|
||||
(adjustPath filename):(map ((</> filename) . adjustPath) $ sourcePathFlag ++ sourcePathAnnotation)
|
||||
case sources of
|
||||
Nothing -> return deflt
|
||||
Just first -> return first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue