fix(agent): correct missing workspaceRoot property in autoCommitAndDeploy

This commit is contained in:
2026-05-15 10:28:25 -07:00
parent c3b06b61fc
commit 2993f19a25

View File

@@ -150,7 +150,7 @@ async function autoCommitAndDeploy(
const commitMsg = `agent: ${task.slice(0, 72)}`; const commitMsg = `agent: ${task.slice(0, 72)}`;
const msgFile = require("path").join( const msgFile = require("path").join(
opts.workspaceRoot, opts.repoRoot || process.cwd(),
".git", ".git",
"COMMIT_EDITMSG", "COMMIT_EDITMSG",
); );