Skip to content

Commit

Permalink
q@0.8.10 compatibility: 'end is deprecated, use done instead' (fix #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsweet committed Nov 6, 2012
1 parent b07cc33 commit cff1128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/cmd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/cmd.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ exports.Cmd = class Cmd
@cmd()
.name('completion')
.apply(require './completion')
.done()
.end()

_exit: (msg, code) ->
process.once 'exit', ->
Expand Down Expand Up @@ -342,7 +342,7 @@ exports.Cmd = class Cmd
@_exit res.stack ? res.toString(), res.exitCode ? code
else
@_exit()
Q.when(@do(argv), cb(0), cb(1)).end()
Q.when(@do(argv), cb(0), cb(1)).done()
@

###*
Expand Down

0 comments on commit cff1128

Please sign in to comment.