Skip to content

Commit 311065b

Browse files
author
Nathan Turinski
committed
{} linter
1 parent 5856acf commit 311065b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/commands/createNewProject/mcpServerSteps/MCPDownloadSnippetsExecuteStep.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,17 @@ export class MCPDownloadSnippetsExecuteStep extends AzureWizardExecuteStepWithAc
5656
language: ProjectLanguage | undefined,
5757
files: { itemPath: string; destPath: string }[]
5858
): string | undefined {
59-
if (!language) return undefined;
59+
if (!language) {
60+
return undefined;
61+
}
6062

6163
// Prefer the known entrypoint path for the language
6264
const knownPath = MCPDownloadSnippetsExecuteStep.knownToolPaths[language];
6365
if (knownPath) {
6466
const match = files.find(f => f.itemPath === knownPath);
65-
if (match) return match.destPath;
67+
if (match) {
68+
return match.destPath;
69+
}
6670
}
6771

6872
// Fallback: any file with the right extension, sorted for determinism

0 commit comments

Comments
 (0)