Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
manifestIdExists.extraErrorMessage
)
kaxTask.succeed()
}
if (bundleStoreUrlSetInCauldron) {
kaxTask = kax.task(`Ensuring that bundleStore url is set in Cauldron`)
await Ensure.bundleStoreUrlSetInCauldron(
bundleStoreUrlSetInCauldron.extraErrorMessage
)
kaxTask.succeed()
}
if (bundleStoreAccessKeyIsSet) {
kaxTask = kax.task(
`Ensuring that bundlestore-accesskey is set in configuration`
)
await Ensure.bundleStoreAccessKeyIsSet(
bundleStoreAccessKeyIsSet.extraErrorMessage
)
kaxTask.succeed()
}
if (metroServerIsNotRunning) {
kaxTask = kax.task(`Ensuring that metro server is not running`)
await Ensure.metroServerIsNotRunning(
metroServerIsNotRunning.host,
metroServerIsNotRunning.port,
metroServerIsNotRunning.extraErrorMessage
)
kaxTask.succeed()
}
} catch (e) {
kaxTask.fail()
utils.logErrorAndExitProcess(e, 1)