Skip to content

Commit

Permalink
fix after function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Escalante committed Dec 19, 2013
1 parent b01666b commit a867a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class Init extends Base
if not prompt.override then console.log('')

user_after_fn = ->
if not @config.before then return W.resolve()
nodefn.call(@config.before, @)
if not @config.after then return W.resolve()
nodefn.call(@config.after, @)

update_template = ->
nodefn.call(exec, "cd #{@sprout_path}; git pull")
Expand Down

0 comments on commit a867a09

Please sign in to comment.