-
Notifications
You must be signed in to change notification settings - Fork 3k
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(throwError): remove utility throwError() function #1819
Conversation
Not sure why coverage's decreased :/ |
20a0de2
to
97819eb
Compare
Was this being done for performance reasons? I'm not aware of any, but wouldn't be surprised if wrapping the throw inside a function some how prevented a deopt or something. @Blesh ? |
I was also bit curious, sending out PR as discussion point, especially this has been used in only single place of codebase. |
97819eb
to
26685b1
Compare
TMK, Need to make sure the code coverage stays up, other than that, it LGTM |
26685b1
to
bdb9dbd
Compare
bdb9dbd
to
ede9825
Compare
coveralls doesn't make sense to me. It says in the list of changes that there was no change in coverage, but then claims -0.001% overall change. Seems like a rounding error or something... |
LGTM |
I assume similar, some kind of threshold between line changes. Tried dummy changes but no luck. :/ |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
This PR removes utility function
throwError
, which simply wrapsthrow
and only being used in single place. Error can be thrown directly.Related issue (if exists):