Skip to content

Commit aad8528

Browse files
authored
Clean up Not Found error message
1 parent 6edbcd7 commit aad8528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ var rules = requireUp('eslint-local-rules', __dirname);
1111
if (!rules) {
1212
throw new Error(
1313
'eslint-plugin-local-rules: ' +
14-
'Cannot find "eslint-local-rules.{' + exts.join(',') + "}" +
15-
'(looking up from "' + __dirname + '").'
14+
'Cannot find "eslint-local-rules{' + ['.js'].concat(exts.filter(Boolean)) + "} " +
15+
'or eslint-local-rules/index.js (checked all ancestors of "' + __dirname + '").'
1616
);
1717
}
1818

0 commit comments

Comments
 (0)