Comparing version 0.2.2 to 0.2.3
@@ -24,8 +24,5 @@ (function() { | ||
} | ||
file = frame.getFileName(); | ||
file = frame.getFileName() || '<anonymous>'; | ||
line = frame.getLineNumber(); | ||
column = frame.getColumnNumber(); | ||
if (file == null) { | ||
return 'unknown source'; | ||
} | ||
column = column != null ? ':' + column : ''; | ||
@@ -32,0 +29,0 @@ line = line != null ? ':' + line : ''; |
{ | ||
"name": "longjohn", | ||
"description": "Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/mattinsler/longjohn", | ||
@@ -35,5 +35,5 @@ "author": { | ||
"scripts": { | ||
"test": "node_modules/mocha/bin/mocha --compilers coffee:coffee-script -R spec" | ||
"test": "node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register -R spec" | ||
}, | ||
"keywords": [] | ||
} |
Sorry, the diff of this file is not supported yet
23637
299