Warn on missing builder
We are going to try to create a builder if one is missing, so let's warn rather than report it as an error.
This commit is contained in:
@@ -30,7 +30,7 @@ class Kamal::Cli::Build < Kamal::Cli::Base
|
||||
end
|
||||
rescue SSHKit::Command::Failed => e
|
||||
if e.message =~ /(no builder)|(no such file or directory)/
|
||||
error "Missing compatible builder, so creating a new one first"
|
||||
warn "Missing compatible builder, so creating a new one first"
|
||||
|
||||
if cli.create
|
||||
KAMAL.with_verbosity(:debug) { execute *KAMAL.builder.push }
|
||||
|
||||
Reference in New Issue
Block a user