aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-17 20:35:37 +0000
committerVeetaha <[email protected]>2020-02-22 11:46:11 +0000
commitd905abfb118ca50f6af1292073ce4fc3b91c7045 (patch)
treeb7614a78de75cc2e7d918829e3cea65014cb8578 /editors/code/src
parentf9acb4333f7c07969184d64793a84f8ad8efb309 (diff)
vscode: migrate to tripple equals
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/inlay_hints.ts2
-rw-r--r--editors/code/src/installation/server.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 26705067a..641ec15c6 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -73,7 +73,7 @@ class HintsUpdater {
73 async setEnabled(enabled: boolean): Promise<void> { 73 async setEnabled(enabled: boolean): Promise<void> {
74 console.log({ enabled, prev: this.enabled }); 74 console.log({ enabled, prev: this.enabled });
75 75
76 if (this.enabled == enabled) return; 76 if (this.enabled === enabled) return;
77 this.enabled = enabled; 77 this.enabled = enabled;
78 78
79 if (this.enabled) { 79 if (this.enabled) {
diff --git a/editors/code/src/installation/server.ts b/editors/code/src/installation/server.ts
index 63ab104a1..750852921 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
42 42
43 console.log("Installed version:", installedVersion, "required:", requiredVersion); 43 console.log("Installed version:", installedVersion, "required:", requiredVersion);
44 44
45 if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion == requiredVersion) { 45 if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion === requiredVersion) {
46 return prebuiltBinaryPath; 46 return prebuiltBinaryPath;
47 } 47 }
48 48