Skip to content

Commit

Permalink
Fix "undefined var exts when eslint-local-rules.js not found"
Browse files Browse the repository at this point in the history
Fixes #14
  • Loading branch information
cletusw authored Jul 25, 2022
1 parent 8680d86 commit 32d3514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!rules) {
throw new Error(
'eslint-plugin-local-rules: ' +
'Cannot find "eslint-local-rules{' +
['.js'].concat(exts.filter(Boolean)) +
['.js'].concat(DEFAULT_EXTENSIONS.filter(Boolean)) +
'} ' +
'or eslint-local-rules/index.js (checked all ancestors of "' +
__dirname +
Expand Down

0 comments on commit 32d3514

Please sign in to comment.