Skip to content

Commit

Permalink
test: check console.log file
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Aug 7, 2024
1 parent 477418e commit f07d0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function testCafeRunner() {
if (!fs.existsSync(assetsPath)) {
fs.mkdirSync(assetsPath);
}
const fd = fs.openSync(path.join(assetsPath, 'console.log'), 'w+', 0o644);
const fd = fs.openSync(path.join(assetsPath, 'console2.log'), 'w+', 0o644);
const ws = new stream.Writable({
write(data: any, encoding: any, cb: any) {

Check warning on line 25 in src/console-wrapper.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 25 in src/console-wrapper.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 25 in src/console-wrapper.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
fs.write(fd, data, undefined, encoding, cb);
Expand Down

0 comments on commit f07d0af

Please sign in to comment.