Skip to content

Commit dd46b78

Browse files
committed
bump
1 parent 8ee13ae commit dd46b78

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dist/longjohn.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/longjohn.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ call_stack_location = ->
101101
Error.captureStackTrace(err, arguments.callee)
102102
stack = err.stack
103103
Error.prepareStackTrace = orig
104-
return "bad call_stack_location" if not (stack[2])
104+
return 'bad call_stack_location' unless stack[2]?
105105
"#{stack[2].getFunctionName()} (#{stack[2].getFileName()}:#{stack[2].getLineNumber()})"
106106

107107
wrap_callback = (callback, location) ->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "longjohn",
33
"description": "Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces",
4-
"version": "0.2.3",
4+
"version": "0.2.4",
55
"homepage": "https://github.com/mattinsler/longjohn",
66
"author": {
77
"name": "Matt Insler",

0 commit comments

Comments
 (0)