summaryrefslogtreecommitdiff
path: root/src/Command/Run.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command/Run.hs')
-rw-r--r--src/Command/Run.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Run.hs b/src/Command/Run.hs
index 85bc59d..f200738 100644
--- a/src/Command/Run.hs
+++ b/src/Command/Run.hs
@@ -276,7 +276,7 @@ watchExpressionSource expr = do
watchBranchSource :: Text -> CommandExec JobSource
watchBranchSource branch = do
repo <- getDefaultRepo
- expr <- evaluateDeclaredRange repo $ RangeExpression (WatchedRef branch) (StaticRef branch)
+ expr <- evaluateDeclaredRange repo $ RangeExpression (WatchedRef (TextRef branch)) (StaticRef (TextRef branch))
watchExpressionSource expr
watchTagSource :: Pattern -> CommandExec JobSource