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