make touching /tmp/app-initialized depend on heroku env var
This commit is contained in:
parent
f383a2e1b3
commit
4a0bdaafe6
|
@ -55,7 +55,7 @@ module Travis::Api
|
||||||
def self.setup(options = {})
|
def self.setup(options = {})
|
||||||
setup! unless setup?
|
setup! unless setup?
|
||||||
Endpoint.set(options) if options
|
Endpoint.set(options) if options
|
||||||
FileUtils.touch('/tmp/app-initialized')
|
FileUtils.touch('/tmp/app-initialized') if ENV['DYNO'] # Heroku
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.new(options = {})
|
def self.new(options = {})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user