From 1116f95bef85f423daaf767ce2b75a80c9b4477c Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Mon, 8 Apr 2024 14:13:20 +0200 Subject: [PATCH] chore: fix typo --- 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 365c048..a44f79f 100644 --- a/src/api/resolve.ts +++ b/src/api/resolve.ts @@ -39,7 +39,7 @@ export function resolveVitestPackage(cwd: string, folder: vscode.WorkspaceFolder export function resolveVitestPackagePath(cwd: string, folder: vscode.WorkspaceFolder) { 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}`) + throw new Error(`"vitest.vitestPackagePath" must point to a package.json file, instead got: ${customPackagePath}`) try { return customPackagePath || require.resolve('vitest/package.json', { paths: [cwd], -- 2.54.0