automata-cli 0.1.0-feature-030-do-work.202 → 0.1.0-feature-030-do-work.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3122,7 +3122,7 @@ function validateDoWorkConfig(doWork) {
|
|
|
3122
3122
|
if (doWork.executor !== void 0 && doWork.executor !== "claude" && doWork.executor !== "codex") {
|
|
3123
3123
|
fail(`doWork.executor must be 'claude' or 'codex', got '${String(doWork.executor)}'.`);
|
|
3124
3124
|
}
|
|
3125
|
-
if (doWork.baseBranch
|
|
3125
|
+
if (doWork.baseBranch?.trim().length === 0) {
|
|
3126
3126
|
fail("doWork.baseBranch must not be empty.");
|
|
3127
3127
|
}
|
|
3128
3128
|
if (doWork.maxRunsPerTick !== void 0) {
|