diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-24 21:17:13 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-27 21:24:14 +0200 |
commit | 4f1121a15d65d5defa7c6e477ed5124b934c461f (patch) | |
tree | d60117c855f4b77a905b0eadb6a538fa0fc018f7 /src/Command/JobId.hs | |
parent | a5f20f40840a0cbc1580261bff3d3a7fd2cdc29b (diff) |
Evaluate jobs with all checkouts in the Eval monad
Diffstat (limited to 'src/Command/JobId.hs')
-rw-r--r-- | src/Command/JobId.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/JobId.hs b/src/Command/JobId.hs index 429e2a0..173f543 100644 --- a/src/Command/JobId.hs +++ b/src/Command/JobId.hs @@ -52,7 +52,7 @@ cmdJobId :: JobIdCommand -> CommandExec () cmdJobId (JobIdCommand JobIdOptions {..} ref) = do einput <- getEvalInput out <- getOutput - JobId ids <- either (tfail . textEvalError) return =<< + JobId ids <- either (tfail . textEvalError) (return . jobId) =<< liftIO (runEval (evalJobReference ref) einput) outputMessage out $ textJobId $ JobId ids |