| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6986154 commit be8d934
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,10 +25,7 @@ Module._findPath = (request, paths, isMain) => { | |||
| 25 | 25 | if (!r && hacks.includes(request)) { | |
| 26 | 26 | try { | |
| 27 | 27 | return require.resolve(`./tools/node_modules/${request}`); | |
| 28 | - // Keep the variable in place to ensure that ESLint started by older Node.js | ||
| 29 | - // versions work as expected. | ||
| 30 | - // eslint-disable-next-line no-unused-vars | ||
| 31 | - } catch (e) { | ||
| 28 | + } catch { | ||
| 32 | 29 | return require.resolve( | |
| 33 | 30 | `./tools/node_modules/eslint/node_modules/${request}`); | |
| 34 | 31 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments