Skip to content

Commit

Permalink
Merge pull request github#1339 from serby/patch-1
Browse files Browse the repository at this point in the history
Fixing URL
  • Loading branch information
technicalpickles committed Feb 21, 2014
2 parents b70cecf + 950550b commit ba70dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/npm.coffee
Expand Up @@ -20,7 +20,7 @@ Select = require("soupselect").select
module.exports = (robot) ->
robot.respond /npm version (.*)/i, (msg) ->
packageName = escape(msg.match[1])
msg.http("https://npmjs.org/package/#{packageName}").get() (err, res, body) ->
msg.http("https://www.npmjs.org/package/#{packageName}").get() (err, res, body) ->
if err
msg.send "I tried talking to npmjs.org, but it seems to be ignoring me."
else
Expand Down

0 comments on commit ba70dc5

Please sign in to comment.