mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Fix the order of the then else conditions
This commit is contained in:
parent
8e0cc3374d
commit
5cfe719141
@ -112,8 +112,8 @@ fetchDiff' Arguments{..} filepath = do
|
||||
where
|
||||
diffArguments = R.DiffArguments { format = format, output = output }
|
||||
fetchText textDiff = if developmentMode
|
||||
then liftIO $ Timeout.timeout timeoutInMicroseconds textDiff
|
||||
else liftIO $ Just <$> textDiff
|
||||
then liftIO $ Just <$> textDiff
|
||||
else liftIO $ Timeout.timeout timeoutInMicroseconds textDiff
|
||||
|
||||
|
||||
pathsToDiff :: Arguments -> Both String -> IO [FilePath]
|
||||
|
Loading…
Reference in New Issue
Block a user