refactor: hlint

This commit is contained in:
Gregor Kleen 2020-12-10 02:08:24 +01:00
parent 33567c5560
commit 447df0bc9b

View File

@ -344,7 +344,7 @@ execCrontab = do
-- when (newCrontab /= currentCrontab) $
-- mapRWST (liftIO . atomically) $
-- liftBase . flip writeTVar newCrontab =<< asks (jobCrontab . jobContext)
newCrontab <- atomically . readTVar =<< asks (jobCrontab . jobContext)
newCrontab <- liftIO . readTVarIO =<< asks (jobCrontab . jobContext)
mergeState
newState <- State.get