From 42dfe083bfc4e0981ffef7d1f7af82dd1bed6eed Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 7 Jan 2024 14:09:00 -0600 Subject: [PATCH] deno.json: exclude public directory to prevent LSP from crashing https://github.com/denoland/deno/pull/19097#issuecomment-1880158674 --- .vscode/settings.json | 1 - deno.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6a5b2ea..23baa76 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,6 @@ { "deno.enable": true, "deno.lint": true, - "deno.enablePaths": ["./src", "./scripts"], "editor.defaultFormatter": "denoland.vscode-deno", "path-intellisense.extensionOnImport": true } \ No newline at end of file diff --git a/deno.json b/deno.json index 8d07861..f666cce 100644 --- a/deno.json +++ b/deno.json @@ -9,6 +9,7 @@ "check": "deno check src/server.ts", "relays:sync": "deno run -A --unstable scripts/relays.ts sync" }, + "exclude": ["./public"], "imports": { "@/": "./src/", "~/fixtures/": "./fixtures/"