Skip to content

Commit 85f2ce8

Browse files
authored
Merge pull request microsoft#269615 from microsoft/digitarald/instant-catshark
Fix newline formatting in PR microsoft#265441 changes
2 parents 9fd0d97 + 8f40649 commit 85f2ce8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/vs/workbench/contrib/chat/browser/chatWidget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,8 @@ export class ChatWidget extends Disposable implements IChatWidget {
15291529
}
15301530

15311531
// Set loading guard to prevent infinite loop
1532-
this._isLoadingPromptDescriptions = true; try {
1532+
this._isLoadingPromptDescriptions = true;
1533+
try {
15331534
// Get all available prompt files with their metadata
15341535
const promptCommands = await this.promptsService.findPromptSlashCommands();
15351536

src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ export class ComputeAutomaticInstructions {
123123
// If both settings are disabled, return true to hide the hint (since the features aren't enabled)
124124
if (!useCopilotInstructionsFiles && !useAgentMd) {
125125
return true;
126-
} const { folders } = this._workspaceService.getWorkspace();
126+
}
127+
const { folders } = this._workspaceService.getWorkspace();
127128

128129
// Check for copilot-instructions.md files
129130
if (useCopilotInstructionsFiles) {

0 commit comments

Comments
 (0)