From d9abbbb83abe5fa02dafd8f71239a64e5fa2b64c Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Mon, 8 Apr 2024 14:13:01 +0200 Subject: [PATCH] chore: fix types --- src/api/resolve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/resolve.ts b/src/api/resolve.ts index 8c35556..365c048 100644 --- a/src/api/resolve.ts +++ b/src/api/resolve.ts @@ -37,7 +37,7 @@ export function resolveVitestPackage(cwd: string, folder: vscode.WorkspaceFolder } export function resolveVitestPackagePath(cwd: string, folder: vscode.WorkspaceFolder) { - const customPackagePath = getConfig(folder).packagePath + const customPackagePath = getConfig(folder).vitestPackagePath if (customPackagePath && !customPackagePath.endsWith('package.json')) throw new Error(`"vitest.packagePath" must point to a package.json file, instead got: ${customPackagePath}`) try { -- 2.54.0