remove extra telemtery (#6206)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user