fix(agent): correct missing workspaceRoot property in autoCommitAndDeploy
This commit is contained in:
@@ -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",
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user