mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 18:27:38 +01:00
Preceding whitespace is now ignored.
This commit is contained in:
@@ -227,7 +227,7 @@ export class Adapter {
|
||||
};
|
||||
Object.keys(attributes.properties).forEach(name => {
|
||||
// Use schema allOf property to get independent error reporting #21113
|
||||
attributes.properties[name].pattern = attributes.properties[name].pattern || '^(?!\\$\\{(env|config|command)\\.)';
|
||||
attributes.properties[name].pattern = attributes.properties[name].pattern || '^(?!\\s*\\$\\{(env|config|command)\\.)';
|
||||
attributes.properties[name].patternErrorMessage = attributes.properties[name].patternErrorMessage ||
|
||||
nls.localize('deprecatedVariables', "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead.");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user