mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 08:21:26 +00:00
fix: preserve bootstrap paths and expose failed mutations (#16131)
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 385dcbd8a9
Co-authored-by: Swader <1430603+Swader@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
@@ -53,7 +53,9 @@ describe("resolveBootstrapContextForRun", () => {
|
||||
|
||||
const workspaceDir = await makeTempWorkspace("openclaw-bootstrap-");
|
||||
const result = await resolveBootstrapContextForRun({ workspaceDir });
|
||||
const extra = result.contextFiles.find((file) => file.path === "EXTRA.md");
|
||||
const extra = result.contextFiles.find(
|
||||
(file) => file.path === path.join(workspaceDir, "EXTRA.md"),
|
||||
);
|
||||
|
||||
expect(extra?.content).toBe("extra");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user