Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix first = bug

  • Loading branch information...
commit d8e8bf1305d3daa41dc5550674b74db2b60ac22b 1 parent 436cbce
@tongueroo tongueroo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/gitcycle.rb
View
6 lib/gitcycle.rb
@@ -175,7 +175,7 @@ def qa(*issues)
run("git checkout #{qa_branch['source']}")
if issues[1..-1].empty?
- if issues.first = 'pass'
+ if issues.first == 'pass'
puts "Merging '#{branch}' into '#{qa_branch['source']}'.\n".green
run("git merge #{branch}")
run("git push origin #{qa_branch['source']}")
@@ -196,7 +196,7 @@ def qa(*issues)
end
branches.each do |branch|
- if issues.first = 'pass'
+ if issues.first == 'pass'
merge_remote_branch(
:user => branch['user'],
:repo => branch['repo'].split(':'),
@@ -213,7 +213,7 @@ def qa(*issues)
end
end
- if issues.first = 'pass'
+ if issues.first == 'pass'
puts "\nMarking Lighthouse tickets as 'pending-approval'.\n".green
branches = branches.collect do |b|
{ :name => b['branch'], :repo => b['repo'], :user => b['user'] }
Please sign in to comment.
Something went wrong with that request. Please try again.