瀏覽代碼

exit when username is wrong

Andrew Cantino 10 年之前
父節點
當前提交
0c63622eb2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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!