We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da66610 commit c14030eCopy full SHA for c14030e
lib/internal/v8_prof_polyfill.js
@@ -89,7 +89,7 @@ function versionCheck() {
89
var firstLine = readline();
90
line = firstLine + '\n' + line;
91
firstLine = firstLine.split(',');
92
- const curVer = process.versions.v8.split(/\.-/);
+ const curVer = process.versions.v8.split(/[.\-]/);
93
if (firstLine.length !== 6 && firstLine.length !== 7 ||
94
firstLine[0] !== 'v8-version') {
95
console.log('Unable to read v8-version from log file.');
0 commit comments