File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/commands/createNewProject/mcpServerSteps Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments