Skip to content

Commit

Permalink
Update packages/eslint-plugin-turbo/lib/rules/no-undeclared-env-vars.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
  • Loading branch information
dimitropoulos and tknickman committed Sep 9, 2024
1 parent 8bff7e1 commit b81cd22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const frameworkEnvMatches = (filePath: string): Set<RegExp> => {
const directory = path.dirname(filePath);
const packageJsonDir = searchUp({ cwd: directory, target: "package.json" });
if (!packageJsonDir) {
logger.error(`No package.json found connected to ${filePath}`);
logger.error(`Could not determine package for ${filePath}`);
return new Set<RegExp>();
}
debug(`found package.json in: ${packageJsonDir}`);
Expand Down

0 comments on commit b81cd22

Please sign in to comment.