Skip to content

Commit b81cd22

Browse files
Update packages/eslint-plugin-turbo/lib/rules/no-undeclared-env-vars.ts
Co-authored-by: Thomas Knickman <[email protected]>
1 parent 8bff7e1 commit b81cd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin-turbo/lib/rules/no-undeclared-env-vars.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const frameworkEnvMatches = (filePath: string): Set<RegExp> => {
105105
const directory = path.dirname(filePath);
106106
const packageJsonDir = searchUp({ cwd: directory, target: "package.json" });
107107
if (!packageJsonDir) {
108-
logger.error(`No package.json found connected to ${filePath}`);
108+
logger.error(`Could not determine package for ${filePath}`);
109109
return new Set<RegExp>();
110110
}
111111
debug(`found package.json in: ${packageJsonDir}`);

0 commit comments

Comments
 (0)