| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2e37828 commit 1cfaccd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,7 +77,7 @@ try { | |||
| 77 | 77 | const fd = fs.openSync(logFile, 'r'); | |
| 78 | 78 | const buf = Buffer.allocUnsafe(4096); | |
| 79 | 79 | const dec = new (require('string_decoder').StringDecoder)('utf-8'); | |
| 80 | - var line = ''; | ||
| 80 | + let line = ''; | ||
| 81 | 81 | ||
| 82 | 82 | { | |
| 83 | 83 | const message = versionCheck(peekline(), process.versions.v8); | |
@@ -125,7 +125,7 @@ function versionCheck(firstLine, expected) { | |||
| 125 | 125 | return 'Unable to read v8-version from log file.'; | |
| 126 | 126 | } | |
| 127 | 127 | // Compare major, minor and build; ignore the patch and candidate fields. | |
| 128 | - for (var i = 0; i < 3; i++) | ||
| 128 | + for (let i = 0; i < 3; i++) | ||
| 129 | 129 | if (curVer[i] !== firstLine[i + 1]) | |
| 130 | 130 | return 'Testing v8 version different from logging version'; | |
| 131 | 131 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments