Skip to content

Commit 8265967

Browse files
committed
minor formatting cleanup
1 parent ad0414e commit 8265967

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/vs/workbench/contrib/chat/common/promptSyntax/parsers/basePromptParser.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,7 @@ export class BasePromptParser<TContentsProvider extends IPromptContentsProvider>
622622
}
623623

624624
if (this.header instanceof InstructionsHeader) {
625-
return {
626-
promptType,
627-
...this.header.metadata,
628-
};
625+
return { promptType, ...this.header.metadata };
629626
}
630627

631628
const { tools, mode, description } = this.header.metadata;
@@ -650,10 +647,7 @@ export class BasePromptParser<TContentsProvider extends IPromptContentsProvider>
650647
result.mode = resultingMode;
651648
}
652649

653-
return {
654-
promptType,
655-
...result,
656-
};
650+
return { promptType, ...result };
657651
}
658652

659653
/**

0 commit comments

Comments
 (0)