Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Remove unused function
Brad Cornes <hello@bradley.dev>
1 year ago
1 changed files, 0 additions(+), 16 deletions(-)
M packages/tailwindcss-language-server/src/server.ts -> packages/tailwindcss-language-server/src/server.ts
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index a038aeab6f556f6c34d088e0f2109c57a8b26300..b1b0c436d9b74d09c26cc76d03fd0e925c40f44e 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -134,22 +134,6 @@   connection.console.error(formatError(`Unhandled exception`, e))
 })
 
 import './lib/env'
-  FileChangeType,
-  if (typeof path === 'string') {
-    path = path.split('.')
-  }
-
-  for (let i = 0; i < path.length - 1; i++) {
-    obj = obj[path[i]]
-    if (typeof obj === 'undefined') {
-      return
-    }
-  }
-
-  delete obj[path.pop()]
-}
-
-import './lib/env'
 import glob from 'fast-glob'
   return JSON.stringify(
     [configPath, ...configDependencies].map((file) => [file, fs.statSync(file).mtimeMs])