aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/.eslintrc.js1
-rw-r--r--editors/code/package-lock.json14
-rw-r--r--editors/code/src/inlay_hints.ts2
-rw-r--r--editors/code/src/installation/server.ts2
4 files changed, 10 insertions, 9 deletions
diff --git a/editors/code/.eslintrc.js b/editors/code/.eslintrc.js
index 5cda886ed..d494ebce8 100644
--- a/editors/code/.eslintrc.js
+++ b/editors/code/.eslintrc.js
@@ -12,6 +12,7 @@ module.exports = {
12 "@typescript-eslint" 12 "@typescript-eslint"
13 ], 13 ],
14 "rules": { 14 "rules": {
15 "eqeqeq": ["error", "always", { "null": "ignore" }],
15 "camelcase": ["error"], 16 "camelcase": ["error"],
16 "@typescript-eslint/member-delimiter-style": [ 17 "@typescript-eslint/member-delimiter-style": [
17 "error", 18 "error",
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json
index d7da47089..76ef2aae4 100644
--- a/editors/code/package-lock.json
+++ b/editors/code/package-lock.json
@@ -5,18 +5,18 @@
5 "requires": true, 5 "requires": true,
6 "dependencies": { 6 "dependencies": {
7 "@babel/code-frame": { 7 "@babel/code-frame": {
8 "version": "7.5.5", 8 "version": "7.8.3",
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", 9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
10 "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", 10 "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
11 "dev": true, 11 "dev": true,
12 "requires": { 12 "requires": {
13 "@babel/highlight": "^7.0.0" 13 "@babel/highlight": "^7.8.3"
14 } 14 }
15 }, 15 },
16 "@babel/highlight": { 16 "@babel/highlight": {
17 "version": "7.5.0", 17 "version": "7.8.3",
18 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", 18 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
19 "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", 19 "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
20 "dev": true, 20 "dev": true,
21 "requires": { 21 "requires": {
22 "chalk": "^2.0.0", 22 "chalk": "^2.0.0",
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