actions/os-initialize: Convert Promise to a Bluebird one

Resolves: #1038
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
This commit is contained in:
Thodoris Greasidis 2018-11-27 10:34:21 +02:00
parent 47b35db03e
commit b6c041c9b5

View File

@ -339,7 +339,7 @@ exports.initialize =
#{INIT_WARNING_MESSAGE}
""")
helpers.getManifest(params.image, options.type)
Promise.resolve(helpers.getManifest(params.image, options.type))
.then (manifest) ->
return manifest.initialization?.options
.then (questions) ->