We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef02ab commit 6f47a84Copy full SHA for 6f47a84
test/parallel/test-trace-event-promises.js
@@ -33,7 +33,7 @@ if (process.argv[2] === 'child') {
33
proc.once('exit', common.mustCall(() => {
34
const file = path.join(tmpdir.path, 'node_trace.1.log');
35
36
- assert(common.fileExists(file));
+ assert(fs.existsSync(file));
37
fs.readFile(file, common.mustCall((err, data) => {
38
const traces = JSON.parse(data.toString()).traceEvents
39
.filter((trace) => trace.cat !== '__metadata');
0 commit comments