mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Fixes #3952 [json] Add telemetry event when user edit a json file for Azure RM.
This commit is contained in:
@@ -342,7 +342,7 @@ export class JSONSchemaService implements IJSONSchemaService {
|
||||
}
|
||||
|
||||
public loadSchema(url: string): Thenable<UnresolvedSchema> {
|
||||
if (this.telemetryService && Strings.startsWith(url, 'https://schema.management.azure.com')) {
|
||||
if (this.telemetryService && url.indexOf('//schema.management.azure.com/') !== -1) {
|
||||
this.telemetryService.log('json.schema', {
|
||||
schemaURL: url
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user