Merge pull request #1039 from balena-io/1038-is-initialize-nonbluebird-promise

actions/os-initialize: Convert Promise to a Bluebird one
This commit is contained in:
Thodoris Greasidis 2018-11-27 17:30:13 +02:00 committed by GitHub
commit 1cffcd9b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) ->