diff options
Diffstat (limited to 'tools/eslint/lib/ignored-paths.js')
-rw-r--r-- | tools/eslint/lib/ignored-paths.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/lib/ignored-paths.js b/tools/eslint/lib/ignored-paths.js index 3b7a00e9cd..f43ce46422 100644 --- a/tools/eslint/lib/ignored-paths.js +++ b/tools/eslint/lib/ignored-paths.js @@ -184,7 +184,7 @@ class IgnoredPaths { addPattern(this.ig.default, pattern); }); } else { - throw new Error("Package.json eslintIgnore property requires an array of paths"); + throw new TypeError("Package.json eslintIgnore property requires an array of paths"); } } } |