Skip to content

Commit ede54fb

Browse files
committed
fixup force push prompt
1 parent eaffb56 commit ede54fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ namespace :travis do
287287
each_project_with_common_travis_build do |name|
288288
unless system("git push origin #{branch}")
289289
puts "Push failed, force?"
290-
if STDIN.gets.downcase == /^y/
290+
if STDIN.gets.downcase =~ /^y/
291291
sh "git push origin +#{branch}"
292292
end
293293
create_pull_request(name, branch) rescue nil

0 commit comments

Comments
 (0)