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

refactor(restoreOverriddenRequests): Eliminate uncovered line #1527

Merged
merged 1 commit into from
May 2, 2019

Conversation

paulmelnikow
Copy link
Member

No description provided.

@@ -55,7 +55,7 @@ const isUtf8Representable = function(buffer) {
}

// Array where all information about all the overridden requests are held.
let requestOverride = []
let requestOverrides = {}
Copy link
Member Author

Choose a reason for hiding this comment

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

🙈

Copy link
Member

Choose a reason for hiding this comment

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

wait, what? How did this ever work?

Copy link
Member Author

Choose a reason for hiding this comment

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

In JavaScript any object can be used as a dictionary, and I guess _.keys() did the right thing…

@@ -55,7 +55,7 @@ const isUtf8Representable = function(buffer) {
}

// Array where all information about all the overridden requests are held.
let requestOverride = []
let requestOverrides = {}
Copy link
Member

Choose a reason for hiding this comment

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

wait, what? How did this ever work?

@gr2m gr2m merged commit ef5ecbc into beta May 2, 2019
@paulmelnikow paulmelnikow deleted the refactor-common branch May 2, 2019 16:47
@nockbot
Copy link
Collaborator

nockbot commented May 7, 2019

🎉 This PR is included in version 11.0.0-beta.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nockbot
Copy link
Collaborator

nockbot commented Aug 12, 2019

🎉 This PR is included in version 11.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants