diff --git a/src/beautifiers/executable.coffee b/src/beautifiers/executable.coffee index c02559e..5c85b77 100644 --- a/src/beautifiers/executable.coffee +++ b/src/beautifiers/executable.coffee @@ -389,6 +389,9 @@ class HybridExecutable extends Executable installedWithDocker: false init: () -> super() + .then(() => + return @ + ) .catch((error) => return Promise.reject(error) if not @docker? return @ @@ -400,6 +403,13 @@ class HybridExecutable extends Executable return @initDocker() return @ ) + .catch((error) => + if not @.required + @verbose("Not required") + @ + else + Promise.reject(error) + ) initDocker: () -> @docker.init()