Update to v2.7.5 (#517)

This commit is contained in:
John-Michael Faircloth 2024-01-30 16:42:42 -06:00 committed by GitHub
parent 00bce0da9c
commit e3d5714d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

1
dist/index.js vendored
View file

@ -3702,6 +3702,7 @@ function asPromise(normalizedOptions) {
request._beforeError(new types_1.HTTPError(response));
return;
}
request.destroy();
resolve(request.options.resolveBodyOnly ? response.body : response);
});
const onError = (error) => {