Permalink
Browse files

You didn't declare die

  • Loading branch information...
1 parent 3cdb7ab commit 59cd1992235f601a7b1bd330af8b18985f635288 @antisocialmunky committed Jul 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/cli.coffee
View
@@ -11,10 +11,11 @@ appOrDefault = (opts) ->
mod = false
# Try to require Die app
+ Die = require './die'
if mod
app = require mod
# If we actually have a Die app instance, use it
- if app instanceof require('./die')
+ if app instanceof Die
return app
# Return default Die app

0 comments on commit 59cd199

Please sign in to comment.