stacktracey
Advanced tools
Comparing version 1.0.38 to 1.0.39
{ | ||
"name": "stacktracey", | ||
"version": "1.0.38", | ||
"version": "1.0.39", | ||
"description": "Parses call stacks, reads sources and meta-information.", | ||
@@ -5,0 +5,0 @@ "main": "stacktracey", |
@@ -106,3 +106,3 @@ "use strict"; | ||
withSource (i) { | ||
return StackTracey.withSource (this[i]) | ||
return this[i] && StackTracey.withSource (this[i]) | ||
} | ||
@@ -109,0 +109,0 @@ |
@@ -160,3 +160,3 @@ "use strict"; | ||
pretty.split ('\n')[0].should.equal ('at prettyTest test.js:158 console.log (new StackTracey ().clean.pretty)') | ||
pretty.split ('\n')[0].should.equal ('at prettyTest test.js:158 const pretty = new StackTracey ().clean.pretty') | ||
}) | ||
@@ -163,0 +163,0 @@ }) |
23043