Skip to content

Commit 32b3373

Browse files
committed
fix disable eslint
1 parent 7b64b47 commit 32b3373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/test_runner/tests_stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ class TestsStream extends Readable {
8484
[kEmitMessage](type, data) {
8585
this.emit(type, data);
8686
// Disabling as this going to the user-land
87-
// @eslint-disable-next-line node-core/set-proto-to-null-in-object
88-
this.#tryPush({ __proto__: null, type, data });
87+
// eslint-disable-next-line node-core/set-proto-to-null-in-object
88+
this.#tryPush({ type, data });
8989
}
9090

9191
#tryPush(message) {

0 commit comments

Comments
 (0)