Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cache the cedar check, because checking is slow

commit b65ca4594b7665876707be9121725a5023ed0140 1 parent 6bd53af
@jyurek jyurek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/kumade/deployer.rb
View
2  lib/kumade/deployer.rb
@@ -55,7 +55,7 @@ def heroku(command)
def cedar?
return @cedar unless @cedar.nil?
- heroku("stack").split("\n").grep(/\*/).any? do |line|
+ @cedar = heroku("stack").split("\n").grep(/\*/).any? do |line|
line.include?("cedar")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.