Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Update src/scripts/fogbugz.coffee
Browse files Browse the repository at this point in the history
@technicalpickles I like your solution better.  I have run into use cases where people want to do CASE 1234.
  • Loading branch information
Jay Sherby committed Nov 6, 2012
1 parent eb8a247 commit 8730ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/fogbugz.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ util = require 'util'

module.exports = (robot) ->
if env.HUBOT_FOGBUGZ_HOST and env.HUBOT_FOGBUGZ_TOKEN
robot.hear /(?:[Bb]ugz?|[Cc]ase) (\d+)/, (msg) ->
robot.hear /(?:bugz?|case) (\d+)/i, (msg) ->
msg.http("https://#{env.HUBOT_FOGBUGZ_HOST}/api.asp")
.query
cmd: "search"
Expand Down

0 comments on commit 8730ebe

Please sign in to comment.