Skip to content

Commit 2540f49

Browse files
committed
fix stop by condition
1 parent bac5be9 commit 2540f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

absbox/local/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@ def mkNonPerfAssumps(r, xs:list) -> dict:
25642564
def translate(y) -> dict:
25652565
match y:
25662566
case ("stop", dp, *p):
2567-
return {"stopRunBy": mkTag("StopByPre", [mkDatePattern(dp), lmap(mkPre,p)])}
2567+
return {"stopRunBy": mkTag(("StopByPre", [mkDatePattern(dp), lmap(mkPre,p)]))}
25682568
case ("stop", d):
25692569
return {"stopRunBy": mkTag("StopByDate", vDate(d))}
25702570
case ("estimateExpense", *projectExps):

0 commit comments

Comments
 (0)