Skip to content

Commit

Permalink
fix disable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rluvaton committed Jul 24, 2023
1 parent 7b64b47 commit 32b3373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/test_runner/tests_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ class TestsStream extends Readable {
[kEmitMessage](type, data) {
this.emit(type, data);
// Disabling as this going to the user-land
// @eslint-disable-next-line node-core/set-proto-to-null-in-object
this.#tryPush({ __proto__: null, type, data });
// eslint-disable-next-line node-core/set-proto-to-null-in-object
this.#tryPush({ type, data });
}

#tryPush(message) {
Expand Down

0 comments on commit 32b3373

Please sign in to comment.