summaryrefslogtreecommitdiff
path: root/src/Command/Log.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-24 21:17:13 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-27 21:24:14 +0200
commit4f1121a15d65d5defa7c6e477ed5124b934c461f (patch)
treed60117c855f4b77a905b0eadb6a538fa0fc018f7 /src/Command/Log.hs
parenta5f20f40840a0cbc1580261bff3d3a7fd2cdc29b (diff)
Evaluate jobs with all checkouts in the Eval monad
Diffstat (limited to 'src/Command/Log.hs')
-rw-r--r--src/Command/Log.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Log.hs b/src/Command/Log.hs
index 5d8c9d4..25bfc06 100644
--- a/src/Command/Log.hs
+++ b/src/Command/Log.hs
@@ -37,7 +37,7 @@ instance Command LogCommand where
cmdLog :: LogCommand -> CommandExec ()
cmdLog (LogCommand ref) = do
einput <- getEvalInput
- jid <- either (tfail . textEvalError) return =<<
+ jid <- either (tfail . textEvalError) (return . jobId) =<<
liftIO (runEval (evalJobReference ref) einput)
output <- getOutput
storageDir <- getStorageDir