lib/dev_flow/commands/info.rb in dev_flow-0.0.11 vs lib/dev_flow/commands/info.rb in dev_flow-0.0.12
- old
+ new
@@ -21,11 +21,11 @@
# if work directory is clean, ready to switch
if i_am_leader? and in_release? # concentrate
puts "You are in a release branch, please release it as soon as possible."
else # otherwise show switch options
puts "You switch to other branches:".bold.yellow
- puts "Type #{0.to_s.bold} to switch to develop trunk." unless @git.current_branch == 'develop'
- puts "Simply press enter to keep working on the current branch.".bold.blue
+ puts "Type #{0.to_s.bold} to switch to develop trunk.".bold.blue unless @git.current_branch == 'develop'
+ puts "Simply press enter to keep working on the current branch."
print @waiting.keys.join(", ") + ":"
ans = STDIN.gets.chomp!
if ans == 0.to_s
switch_to! 'develop'