Skip to content

Commit

Permalink
Whoops! Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vongrippen committed Mar 26, 2013
1 parent 6ea2d7f commit e29625b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions heroku.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ module.exports = (robot)->

robot.respond /heroku (.*) ps:restart$/i, (msg)->
heroku.post_ps_restart msg.match[1], (error, result)->
heroku Ps msg
herokuPs msg

robot.respond /heroku (.*) ps:restart (.*)/i, (msg)->
heroku.post_ps_restart msg.match[1], {ps: msg.match[2]}, (error, result)->
heroku Ps msg
herokuPs msg

robot.respond /heroku (.*) ps:scale (.*)=(.*)/i, (msg)->
heroku.post_ps_scale msg.match[1], msg.match[2], msg.match[3], (error, result)->
heroku Ps msg
herokuPs msg

robot.respond /heroku (.*) ps:stop (.*)/i, (msg)->
heroku.post_ps_stop msg.match[1], {ps: msg.match[2]}, (error, result)->
heroku Ps msg
herokuPs msg

0 comments on commit e29625b

Please sign in to comment.