Skip to content

Commit a1b9f67

Browse files
committed
test(claude): match nullable attachmentRelativePath after merge
1 parent 3da1ba2 commit a1b9f67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/provider/Layers/ClaudeAdapter.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ describe("ClaudeAdapterLive", () => {
865865
mimeType: "image/png",
866866
sizeBytes: 4,
867867
};
868-
const attachmentPath = NodePath.join(attachmentsDir, attachmentRelativePath(attachment));
868+
const attachmentPath = NodePath.join(attachmentsDir, attachmentRelativePath(attachment)!);
869869
NodeFS.mkdirSync(NodePath.dirname(attachmentPath), { recursive: true });
870870
NodeFS.writeFileSync(attachmentPath, Uint8Array.from([1, 2, 3, 4]));
871871

0 commit comments

Comments
 (0)