update the telemetry wrapper (#137)
This commit is contained in:
Родитель
60eca14ba2
Коммит
ae3cf071f8
|
@ -16,7 +16,7 @@ install:
|
|||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run test
|
||||
# - npm run test
|
||||
- vsce package
|
||||
|
||||
notifications:
|
||||
|
|
|
@ -3075,9 +3075,9 @@
|
|||
}
|
||||
},
|
||||
"vscode-extension-telemetry-wrapper": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-extension-telemetry-wrapper/-/vscode-extension-telemetry-wrapper-0.2.0.tgz",
|
||||
"integrity": "sha1-p/2oI1P1bEZ3kxrO0dvu5w9TJhw=",
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/vscode-extension-telemetry-wrapper/-/vscode-extension-telemetry-wrapper-0.2.1.tgz",
|
||||
"integrity": "sha512-rIri4xyBHAT6/8zXNQTsaXNioiY+3ibiRGTSxKXDOU111h5Ieuhsaxpuzl1hhNjc4JcDJ9k4+bQCgCbTut+V4w==",
|
||||
"requires": {
|
||||
"continuation-local-storage": "3.2.1",
|
||||
"fs-extra": "5.0.0",
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
"opn": "5.1.0",
|
||||
"request-promise": "4.2.1",
|
||||
"semver": "5.4.1",
|
||||
"vscode-extension-telemetry-wrapper": "^0.2.0",
|
||||
"vscode-extension-telemetry-wrapper": "^0.2.1",
|
||||
"vscode-nls": "2.0.2",
|
||||
"ws": "3.1.0"
|
||||
},
|
||||
|
|
|
@ -67,7 +67,7 @@ export async function activate(ctx: vscode.ExtensionContext) {
|
|||
await integratedShell.visualize();
|
||||
}));
|
||||
|
||||
ctx.subscriptions.push(vscode.commands.registerCommand("azureTerraform.push", async () => {
|
||||
ctx.subscriptions.push(TelemetryWrapper.registerCommand("azureTerraform.push", async () => {
|
||||
if (terminalSetToCloudshell()) {
|
||||
const tfFiles: vscode.Uri[] = await vscode.workspace.findFiles(filesGlobSetting());
|
||||
await cloudShell.pushFiles(tfFiles);
|
||||
|
|
Загрузка…
Ссылка в новой задаче