Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs for 1.0.1 #353

Merged
merged 10 commits into from
Nov 29, 2017
Merged

Fix bugs for 1.0.1 #353

merged 10 commits into from
Nov 29, 2017

Conversation

OsvaldoRosado
Copy link
Member

Address #352, #351, #349, #348 and prepare a 1.0.1 release.

};
}
https.request = (options, ...requestArgs: any[]) => {
const request: http.ClientRequest = originalHttpsRequest.call(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't it exactly the same as for http.request? Would it make sense to move it to a method and just pass originalHttpsRequest/originalRequest object?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, the base functions take different numbers of arguments 😄

Copy link
Member Author

@OsvaldoRosado OsvaldoRosado Nov 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do really dislike the duplication though.. For what its worth, it was already duplicated like this before the changes

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let's leave it as it is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually scratch that, I think this can be cleanly de-duplicated. Will change

@OsvaldoRosado OsvaldoRosado added this to the 1.0.1 milestone Nov 29, 2017
@OsvaldoRosado OsvaldoRosado merged commit 328bb5f into develop Nov 29, 2017
@OsvaldoRosado OsvaldoRosado deleted the osrosado/dependencyfix branch November 29, 2017 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants