Skip to content

Commit ee3d459

Browse files
committed
Regression: cancelling a launch command should silently cancel launch
Fixes microsoft#64547
1 parent d3cf960 commit ee3d459

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vs/workbench/services/configurationResolver/electron-browser/configurationResolverService.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ export class ConfigurationResolverService extends AbstractVariableResolverServic
9090
// resolve input variables in the order in which they are encountered
9191
return this.resolveWithInteraction(folder, config, section, variables).then(mapping => {
9292
// finally substitute evaluated command variables (if there are any)
93-
if (mapping && mapping.size > 0) {
93+
if (!mapping) {
94+
return null;
95+
} else if (mapping.size > 0) {
9496
return this.resolveAny(folder, config, fromMap(mapping));
9597
} else {
9698
return config;

0 commit comments

Comments
 (0)