| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b0393fa commit 752c94d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -479,7 +479,7 @@ test('npm doctor outdated nodejs version', t => { | |||
| 479 | 479 | npm.globalDir = dir | |
| 480 | 480 | npm.localBin = dir | |
| 481 | 481 | npm.globalBin = dir | |
| 482 | - nodeVersions.push({ version: process.version.replace(/\d+$/, '999'), lts: false }) | ||
| 482 | + nodeVersions.push({ version: process.version.replace(/\d+(-.*)?$/, '999'), lts: false }) | ||
| 483 | 483 | const consoleError = console.error | |
| 484 | 484 | // we just print an empty line here, so swallow it and ignore | |
| 485 | 485 | console.error = () => {} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments