Browse Source

exit when username is wrong

Andrew Cantino 10 years ago
parent
commit
0c63622eb2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/setup_heroku

+ 1 - 0
bin/setup_heroku

@@ -76,6 +76,7 @@ app_name = info.scan(/http:\/\/([\w\d-]+)\.herokuapp\.com/).flatten.first
 
 unless yes?("Your Heroku app name is #{app_name}.  Is this correct?")
   puts "Well, then I'm not sure what to do here, sorry."
+  exit 1
 end
 
 grab_heroku_config!