Permalink
Browse files

fixing pmreview not showing bug

  • Loading branch information...
1 parent 716ac2d commit 474630ba499be8f861bf6d7bceec0cfa7ce41ebc @pathsny pathsny committed Feb 24, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 gh.rb
View
5 gh.rb
@@ -36,10 +36,7 @@ def closed?(github_issue)
github_issue = Github_Client.issue(repo, issue_id)
labels = m.scan(/\~([a-zA-Z0-9\-]+)/).flatten + github_issue.labels.map(&:name)
- puts !m.scan(/\#nopm/)[0]
- puts closed?(github_issue)
- puts push['ref'] == 'master'
- puts !m.scan(/\#nopm/)[0] && closed?(github_issue) && push['ref'] == 'master'
+ puts push.inspect
labels << "pm-review" if !m.scan(/\#nopm/)[0] && closed?(github_issue) && push['ref'] == 'master'
labels.uniq

0 comments on commit 474630b

Please sign in to comment.