Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
extraErrorMessage?: string
}
bundleStoreAccessKeyIsSet?: {
extraErrorMessage?: string
}
metroServerIsNotRunning?: {
host: string
port: string
extraErrorMessage?: string
}
} = {}) {
let kaxTask
try {
if (cauldronIsActive) {
kaxTask = kax.task('Ensuring that a Cauldron is active')
await Ensure.cauldronIsActive(cauldronIsActive.extraErrorMessage)
kaxTask.succeed()
}
if (isValidContainerVersion) {
kaxTask = kax.task(
`Ensuring that ${
isValidContainerVersion.containerVersion
} is a valid Container version`
)
Ensure.isValidContainerVersion(
isValidContainerVersion.containerVersion,
isValidContainerVersion.extraErrorMessage
)
kaxTask.succeed()
}
if (isNewerContainerVersion) {
kaxTask = kax.task(