Skip to content

Commit 669d9b5

Browse files
authored
variables: don't keep an lru for pw inputs (microsoft#262206)
1 parent 84829e3 commit 669d9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export abstract class BaseConfigurationResolverService extends AbstractVariableR
274274
inputOptions.password = info.password;
275275
}
276276
return this.userInputAccessQueue.queue(() => this.quickInputService.input(inputOptions)).then(resolvedInput => {
277-
if (typeof resolvedInput === 'string') {
277+
if (typeof resolvedInput === 'string' && !info.password) {
278278
this.storeInputLru(defaultValueMap.set(defaultValueKey, resolvedInput));
279279
}
280280
return resolvedInput !== undefined ? { value: resolvedInput as string, input: info } : undefined;

0 commit comments

Comments
 (0)