Skip to content

Commit 65465be

Browse files
committed
Moved readme and remove debugging statements
1 parent 9e0fcca commit 65465be

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

chapter-8-coffeescript-and-hubot/lib/handler.coffee

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ exports.getSecureHash = ( body ) ->
2828
hmac.write( body )
2929
hmac.end()
3030
hash = hmac.read()
31-
console.log "Hash: #{hash}"
3231
hash
3332

3433
exports.prHandler = ( robot, req, res ) ->
@@ -52,7 +51,7 @@ exports.prHandler = ( robot, req, res ) ->
5251
users = robot.brain.users()
5352
sendPrRequest( robot, users, room, url, number )
5453
else
55-
console.log "Invalid secret or no URL specified"
54+
a = 1 # null-op
5655
else
5756
console.log "No pull request in here"
5857

0 commit comments

Comments
 (0)