Skip to content

Commit

Permalink
streams: Fix util inspect for compression and decompression streams
Browse files Browse the repository at this point in the history
  • Loading branch information
Mert Can Altin committed Mar 30, 2024
1 parent 021cf91 commit 1d59e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/webstreams/compression.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CompressionStream {
}

[kInspect](depth, options) {
customInspect(depth, options, 'CompressionStream', {
return customInspect(depth, options, 'CompressionStream', {
readable: this.#transform.readable,
writable: this.#transform.writable,
});
Expand Down Expand Up @@ -128,7 +128,7 @@ class DecompressionStream {
}

[kInspect](depth, options) {
customInspect(depth, options, 'DecompressionStream', {
return customInspect(depth, options, 'DecompressionStream', {
readable: this.#transform.readable,
writable: this.#transform.writable,
});
Expand Down

0 comments on commit 1d59e3d

Please sign in to comment.