We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523951b commit df5d38fCopy full SHA for df5d38f
1 file changed
error-stack-parser.js
@@ -56,7 +56,7 @@
56
return filtered.map(function(line) {
57
if (line.indexOf('(eval ') > -1) {
58
// Throw away eval information until we implement stacktrace.js/stackframe#8
59
- line = line.replace(/eval code/g, 'eval').replace(/(\(eval at [^()]*)|(\),.*$)/g, '');
+ line = line.replace(/eval code/g, 'eval').replace(/(\(eval at [^()]*)|(,.*$)/g, '');
60
}
61
var sanitizedLine = line.replace(/^\s+/, '').replace(/\(eval code/g, '(').replace(/^.*?\s+/, '');
62
0 commit comments