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
76 76
 
77 77
 unless yes?("Your Heroku app name is #{app_name}.  Is this correct?")
78 78
   puts "Well, then I'm not sure what to do here, sorry."
79
+  exit 1
79 80
 end
80 81
 
81 82
 grab_heroku_config!