Skip to content

Commit

Permalink
Merge branch 'master' of github.com:github/hubot
Browse files Browse the repository at this point in the history
  • Loading branch information
tombell committed Jul 28, 2012
2 parents a11da0f + b587ccd commit 35fb4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robot.coffee
Expand Up @@ -247,7 +247,7 @@ class Robot
throw err if err?

for i, line of body.split "\n"
break unless line[0] is '#' or line.substr 0, 2 is '//'
break unless line[0] is '#' or line.substr(0, 2) is '//'

cleaned_line = line[2..line.length].replace("\n", "")

Expand Down

0 comments on commit 35fb4d2

Please sign in to comment.