Browse files

updated to 0.3.5

  • Loading branch information...
1 parent 6ce9897 commit 1d0636a1b5770d41d3de6e3d82b2fbbd26253fd9 @baryon committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/console.js
View
2 lib/console.js
@@ -45,7 +45,7 @@ module.exports = (function() {
var reg1 = /at\s+(.*)\s+\((.*):(\d*):(\d*)\)/ig, reg2 = /at\s+()(.*):(\d*):(\d*)/ig, s=data.stack[0];
var sp = reg1.exec(s) || reg2.exec(s);
if (sp && sp.length === 5) {
- if(sp[1]) data.method = sp[1];
+ data.method = sp[1];
data.path = sp[2];
data.line = sp[3];
data.pos = sp[4];

0 comments on commit 1d0636a

Please sign in to comment.