mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 07:57:39 +00:00
fix: resolve agent dir in onboarding
This commit is contained in:
@@ -798,8 +798,11 @@ describe("trigger handling", () => {
|
||||
workspaceDir: cfg.agent.workspace,
|
||||
});
|
||||
expect(sandbox).not.toBeNull();
|
||||
if (!sandbox) {
|
||||
throw new Error("Expected sandbox to be set");
|
||||
}
|
||||
const stagedFullPath = join(
|
||||
sandbox!.workspaceDir,
|
||||
sandbox.workspaceDir,
|
||||
"media",
|
||||
"inbound",
|
||||
basename(mediaPath),
|
||||
|
||||
Reference in New Issue
Block a user