mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 01:36:45 +00:00
hlint suggestions.
This commit is contained in:
@@ -113,7 +113,7 @@ parseOptions options' defaults = do
|
||||
getOpt' Permute options' rawArgs
|
||||
|
||||
let unknownOptionErrors =
|
||||
foldr (handleUnrecognizedOption . (takeWhile (/= '='))) []
|
||||
foldr (handleUnrecognizedOption . takeWhile (/= '=')) []
|
||||
unrecognizedOpts
|
||||
|
||||
unless (null errors && null unknownOptionErrors) $
|
||||
|
||||
Reference in New Issue
Block a user