mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 23:27:38 +08:00
Fixed exit status for missing files.
This commit is contained in:
@@ -99,7 +99,7 @@ formats = Map.fromList [
|
||||
toStatus = liftM (either id (const NoProblems)) . runErrorT
|
||||
|
||||
catchExceptions :: IO Status -> IO Status
|
||||
catchExceptions action = action -- action `catch` handler
|
||||
catchExceptions action = action `catch` handler
|
||||
where
|
||||
handler err = do
|
||||
printErr $ show (err :: SomeException)
|
||||
|
Reference in New Issue
Block a user