lib/shelly/app.rb in shelly-0.1.24.pre2 vs lib/shelly/app.rb in shelly-0.1.24

- old
+ new

@@ -115,10 +115,10 @@ def self.guess_code_name guessed = nil cloudfile = Cloudfile.new if cloudfile.present? - clouds = cloudfile.clouds.map(&:code_name) + clouds = cloudfile.clouds if clouds.grep(/staging/).present? guessed = "production" production_clouds = clouds.grep(/production/) production_clouds.sort.each do |cloud| cloud =~ /production(\d*)/