mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-09 10:00:38 +00:00
vscode: migrate to tripple equals
This commit is contained in:
parent
f9acb4333f
commit
d905abfb11
4 changed files with 10 additions and 9 deletions
|
@ -73,7 +73,7 @@ class HintsUpdater {
|
|||
async setEnabled(enabled: boolean): Promise<void> {
|
||||
console.log({ enabled, prev: this.enabled });
|
||||
|
||||
if (this.enabled == enabled) return;
|
||||
if (this.enabled === enabled) return;
|
||||
this.enabled = enabled;
|
||||
|
||||
if (this.enabled) {
|
||||
|
|
|
@ -42,7 +42,7 @@ export async function ensureServerBinary(source: null | BinarySource): Promise<n
|
|||
|
||||
console.log("Installed version:", installedVersion, "required:", requiredVersion);
|
||||
|
||||
if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion == requiredVersion) {
|
||||
if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion === requiredVersion) {
|
||||
return prebuiltBinaryPath;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue