Permalink
Browse files

Use getFunction instead of fun property

  • Loading branch information...
1 parent 2254c0a commit 62a30ee3666e1d9cf95734da27c9943cd6183a8c @noradaiko noradaiko committed Nov 21, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -31,7 +31,7 @@ function assert(expr) {
var err = new AssertionError({
message: src,
- stackStartFunction: stack[0].fun
+ stackStartFunction: stack[0].getFunction()
});
throw err;

0 comments on commit 62a30ee

Please sign in to comment.