Method: Hatchet::App::FailedDeploy#initialize
- Defined in:
- lib/hatchet/app.rb
#initialize(app, output) ⇒ FailedDeploy
Returns a new instance of FailedDeploy.
6 7 8 9 10 11 12 |
# File 'lib/hatchet/app.rb', line 6 def initialize(app, output) msg = "Could not deploy '#{app.name}' (#{app.repo_name}) using '#{app.class}' at path: '#{app.directory}'\n" << " if this was expected add `allow_failure: true` to your deploy hash.\n" << "output:\n" << "#{output}" super(msg) end |