Skip to content

Commit 36666ae

Browse files
backnotpropclaude
andcommitted
fix: trim workspace and folder in saveToOctarine before building URI
The UI checks workspace.trim().length > 0 but the server used raw values. Accidental whitespace in settings would cause Octarine saves to fail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 96a2f0e commit 36666ae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/server/integrations.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ export function generateOctarineFrontmatter(tags: string[]): string {
344344
*/
345345
export async function saveToOctarine(config: OctarineConfig): Promise<IntegrationResult> {
346346
try {
347-
const { plan, workspace, folder } = config;
347+
const { plan } = config;
348+
const workspace = config.workspace.trim();
349+
const folder = config.folder.trim();
348350

349351
const filename = generateFilename(plan);
350352
// Strip .md — Octarine auto-adds it

0 commit comments

Comments
 (0)