mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fixes #138122: Option 'disableExtensions' is deprecated, please use 'disable-extensions' instead.
This commit is contained in:
parent
66603ad3fe
commit
0f599cb02f
|
@ -207,7 +207,9 @@ export function parseArgs<T>(args: string[], options: OptionDescriptions<T>, err
|
|||
if (o.deprecates && remainingArgs.hasOwnProperty(o.deprecates)) {
|
||||
if (!val) {
|
||||
val = remainingArgs[o.deprecates];
|
||||
errorReporter.onDeprecatedOption(o.deprecates, optionId);
|
||||
if (val) {
|
||||
errorReporter.onDeprecatedOption(o.deprecates, optionId);
|
||||
}
|
||||
}
|
||||
delete remainingArgs[o.deprecates];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue