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 {