Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing pmreview not showing bug

  • Loading branch information...
commit 474630ba499be8f861bf6d7bceec0cfa7ce41ebc 1 parent 716ac2d
@pathsny pathsny authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.