| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ if (process.argv[2] === 'child') { | |||
| 32 | 32 | const file = tmpdir.resolve('node_trace.1.log'); | |
| 33 | 33 | ||
| 34 | 34 | assert(fs.existsSync(file)); | |
| 35 | - fs.readFile(file, common.mustCall((err, data) => { | ||
| 35 | + fs.readFile(file, common.mustSucceed((data) => { | ||
| 36 | 36 | const traces = JSON.parse(data.toString()).traceEvents | |
| 37 | 37 | .filter((trace) => trace.cat !== '__metadata'); | |
| 38 | 38 | traces.forEach((trace) => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments