remove extra telemtery (#6206)

This commit is contained in:
Elaheh Rashedi
2020-09-24 12:59:21 -07:00
committed by GitHub
parent 6eeff1ab02
commit 7817a10b5f
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -507,9 +507,6 @@ export function getInstalledBinaryPlatform(): string | undefined {
} else if (checkFileExistsSync(path.join(extensionPath, "LLVM/bin/clang-format"))) {
installedPlatform = "linux";
}
if (!installedPlatform) {
Telemetry.logLanguageServerEvent("missingBinary", { "source": "clang-format" });
}
return installedPlatform;
}
+1 -1
View File
@@ -86,7 +86,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CppToo
vscode.env.openExternal(vscode.Uri.parse(releaseDownloadUrl));
}
});
} else if (!installedPlatform || !(await util.checkInstallBinariesExist())) {
} else if (!(await util.checkInstallBinariesExist())) {
errMsg = localize("extension.installation.failed", "The C/C++ extension failed to install successfully. You will need to repair or reinstall the extension for C/C++ language features to function properly.");
const reload: string = localize("remove.extension", "Attempt to Repair");
vscode.window.showErrorMessage(errMsg, reload).then(async (value?: string) => {