Skip to content
Merged
Prev Previous commit
Next Next commit
lint
  • Loading branch information
MoLow committed Jun 22, 2023
commit 40ba972930943350b51da59c2dc2f6789efe435b
2 changes: 1 addition & 1 deletion lib/internal/streams/readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Readable.prototype[EE.captureRejectionSymbol] = function(err) {
};

Readable.prototype[SymbolAsyncDispose] = function() {
let error
let error;
if (!this.destroyed) {
error = new AbortError();
this.destroy(error);
Expand Down