-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
Conversation
@@ -55,7 +55,7 @@ const isUtf8Representable = function(buffer) { | |||
} | |||
|
|||
// Array where all information about all the overridden requests are held. | |||
let requestOverride = [] | |||
let requestOverrides = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 = {} |
There was a problem hiding this comment.
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?
🎉 This PR is included in version 11.0.0-beta.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 11.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.