diff options
| author | Veetaha <gerzoh1@gmail.com> | 2020-02-17 22:35:37 +0200 |
|---|---|---|
| committer | Veetaha <gerzoh1@gmail.com> | 2020-02-22 13:46:11 +0200 |
| commit | d905abfb118ca50f6af1292073ce4fc3b91c7045 (patch) | |
| tree | b7614a78de75cc2e7d918829e3cea65014cb8578 /editors/code/src | |
| parent | f9acb4333f7c07969184d64793a84f8ad8efb309 (diff) | |
| download | rust-d905abfb118ca50f6af1292073ce4fc3b91c7045.tar.gz rust-d905abfb118ca50f6af1292073ce4fc3b91c7045.zip | |
vscode: migrate to tripple equals
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/inlay_hints.ts | 2 | ||||
| -rw-r--r-- | editors/code/src/installation/server.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 26705067aec..641ec15c683 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -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) { diff --git a/editors/code/src/installation/server.ts b/editors/code/src/installation/server.ts index 63ab104a10a..75085292195 100644 --- a/editors/code/src/installation/server.ts +++ b/editors/code/src/installation/server.ts @@ -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; } |
