From 129ad858992beebddeaeb7db1acf298f8e5e5448 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Fri, 3 May 2024 15:24:08 +0100 Subject: [PATCH] Update comments --- src/language-server/client.ts | 1 - vite.config.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/language-server/client.ts b/src/language-server/client.ts index 044565aa6..f8427d52f 100644 --- a/src/language-server/client.ts +++ b/src/language-server/client.ts @@ -188,7 +188,6 @@ export class LanguageServerClient extends EventEmitter { if (!navigator.onLine) { showOfflineLanguageToast(this.toast); // Fallback to the precached locale if user is offline. - // Currently unused as we are precaching all pyright-locale files. this.locale = fallbackLocale; this.initializePromise = undefined; this.initialize(); diff --git a/vite.config.ts b/vite.config.ts index d2c681a8b..e0778bad3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -81,7 +81,6 @@ export default defineConfig(({ mode }) => { workbox: { // Only precache language assets for the fallback language. // Cache other languages at runtime. - // Cache all pyright-locale files as we can't tell what language they are. globIgnores: [ "**/{typeshed.!(en*).js,pyright-locale-!(en*).js,search.worker.!(en*).js,ui.!(en*).js}", ],