-
Notifications
You must be signed in to change notification settings - Fork 224
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
use original name from source in error trace #220
Conversation
@@ -278,7 +278,7 @@ it('throw with empty source map', function() { | |||
'throw new Error("test");' | |||
], [ | |||
'Error: test', | |||
/^ at Object\.exports\.test \((?:.*[/\\])?.generated.js:1:34\)$/ | |||
/^ at Object\.exports\.test \((?:.*[/\\])?\.generated.js:1:34\)$/ |
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 are various minor regex changes too
@@ -278,7 +278,7 @@ it('throw with empty source map', function() { | |||
'throw new Error("test");' | |||
], [ | |||
'Error: test', | |||
/^ at Object\.exports\.test \((?:.*[/\\])?.generated.js:1:34\)$/ | |||
/^ at Object\.exports\.test \((?:.*[/\\])?\.generated.js:1:34\)$/ |
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.
Nice!
Looks great! Just waiting for the CI to turn green 👍 |
Published as v0.5.8 🚢 Thanks 🎉 |
Awesome - thanks for the quick release! |
Continuing #205
The tests were failing due to not falling back to the original name when the source map position did not have a name.