mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Merge pull request #97203 from bzarco/launch-multi-root-args
Don't fail when resolving config variables without a `folderUri`.
This commit is contained in:
@@ -942,7 +942,7 @@ export class ExtHostVariableResolverService extends AbstractVariableResolverServ
|
||||
getWorkspaceFolderCount: (): number => {
|
||||
return folders.length;
|
||||
},
|
||||
getConfigurationValue: (folderUri: URI, section: string): string | undefined => {
|
||||
getConfigurationValue: (folderUri: URI | undefined, section: string): string | undefined => {
|
||||
return configurationService.getConfiguration(undefined, folderUri).get<string>(section);
|
||||
},
|
||||
getExecPath: (): string | undefined => {
|
||||
|
||||
Reference in New Issue
Block a user