diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2025-12-09 22:22:03 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-12-09 22:22:03 +0100 |
| commit | 72c83a013caed4f3f850731988734d125df6a720 (patch) | |
| tree | 77ceff37bb85996c8a73720ef26e54e72ca9df28 /src/Command/Run.hs | |
| parent | 1ece3ebb35fbe21009176b18acb4d649613e32e6 (diff) | |
Fix selecting single job from evaluated job ref
Diffstat (limited to 'src/Command/Run.hs')
| -rw-r--r-- | src/Command/Run.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Run.hs b/src/Command/Run.hs index 04c7273..b299931 100644 --- a/src/Command/Run.hs +++ b/src/Command/Run.hs @@ -181,7 +181,7 @@ argumentJobSource names = do refJobSource :: [ JobRef ] -> CommandExec JobSource refJobSource [] = emptyJobSource refJobSource refs = do - sets <- foldl' addJobToList [] <$> cmdEvalWith id (mapM evalJobReference refs) + sets <- foldl' addJobToList [] <$> cmdEvalWith id (mapM evalJobReferenceToSet refs) oneshotJobSource sets where addJobToList :: [ JobSet ] -> JobSet -> [ JobSet ] |