From b66ea9b1cea42ccae35c486a230cbd6d7cb23d5a Mon Sep 17 00:00:00 2001 From: Joel Courtney Date: Tue, 24 Sep 2024 13:58:31 -0700 Subject: [PATCH] Fix scheduling example docs not committing changes (#190) --- docs/scheduling-and-constraints/procedural/scheduling.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/scheduling-and-constraints/procedural/scheduling.mdx b/docs/scheduling-and-constraints/procedural/scheduling.mdx index e2f2eed..f4a9990 100644 --- a/docs/scheduling-and-constraints/procedural/scheduling.mdx +++ b/docs/scheduling-and-constraints/procedural/scheduling.mdx @@ -111,6 +111,8 @@ class MyActivityEveryHour: Goal { mapOf() // assuming it takes no arguments ) } + + plan.commit() } } ``` @@ -130,6 +132,8 @@ public class MyActivityEveryHour implements Goal { Map.of() ); } + + plan.commit(); } } ``` @@ -162,6 +166,8 @@ class MyActivityEveryHour: Goal { mapOf() // assuming it takes no arguments ) } + + plan.commit() } } ``` @@ -184,6 +190,8 @@ public class MyActivityEveryHour implements Goal { Map.of() ); } + + plan.commit(); } } ```