-
Notifications
You must be signed in to change notification settings - Fork 7
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
External get func name #12
Conversation
Looks like these need to be rebased? |
constructorName = getFunctionName(errorLike); | ||
if (constructorName === '') { | ||
var newConstructorName = getFunctionName(new errorLike()); // eslint-disable-line new-cap | ||
constructorName = newConstructorName ? newConstructorName : constructorName; |
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.
LGTM. My minor nitpick is this that could be constructorName = newConstructorName || constructorName;
which I think would read better.
@keithamus Yes! That looks better indeed! Thanks for the help. I have also rebased both PRs on master, they should be ready for a merge now. |
LGTM! |
LGTM |
@keithamus It says I don't have write access and therefore can't merge. Halp! |
Me to 🐼 |
Sorry, forgot to add the team to this repo. You should all be able to merge now 😄 |
Can anyone restart the build? |
This includes a small refactor for this module to use the external
get-func-name
module.Please notice that this has been made on top of #11.