got 14.4.4 → 14.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -322,7 +322,7 @@ export default class Request extends Duplex {
|
|
|
322
322
|
this._request.end((error) => {
|
|
323
323
|
// The request has been destroyed before `_final` finished.
|
|
324
324
|
// See https://github.com/nodejs/node/issues/39356
|
|
325
|
-
if (this._request
|
|
325
|
+
if (this._request?._writableState?.errored) {
|
|
326
326
|
return;
|
|
327
327
|
}
|
|
328
328
|
if (!error) {
|