From b76259086c4bcd8005f1451b3249cef65f1015da Mon Sep 17 00:00:00 2001 From: "Lyu, Wei-Da" <36730922+jasonlyu123@users.noreply.github.com> Date: Fri, 23 Dec 2022 23:14:24 +0800 Subject: [PATCH] (fix) remove zero width space from ignore glob (#1807) --- packages/svelte-vscode/src/sveltekit/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte-vscode/src/sveltekit/index.ts b/packages/svelte-vscode/src/sveltekit/index.ts index ffedffd25..5066a05f3 100644 --- a/packages/svelte-vscode/src/sveltekit/index.ts +++ b/packages/svelte-vscode/src/sveltekit/index.ts @@ -46,7 +46,7 @@ function getConfig() { } async function detect(nrRetries: number): Promise { - const packageJsonList = await workspace.findFiles('**/package.json', '**​/node_modules/**'); + const packageJsonList = await workspace.findFiles('**/package.json', '**/node_modules/**'); if (packageJsonList.length === 0 && nrRetries > 0) { // We assume that the user has not setup their project yet, so try again after a while