Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dependencyIsOrphaned.descriptor,
dependencyIsOrphaned.extraErrorMessage
)
kaxTask.succeed()
}
if (isValidNpmPackageName) {
kaxTask = kax.task('Ensuring that NPM package name is valid')
await Ensure.isValidNpmPackageName(
isValidNpmPackageName.name,
isValidNpmPackageName.extraErrorMessage
)
kaxTask.succeed()
}
if (isValidElectrodeNativeModuleName) {
kaxTask = kax.task('Ensuring that Electrode Native module name is valid')
await Ensure.isValidElectrodeNativeModuleName(
isValidElectrodeNativeModuleName.name,
isValidElectrodeNativeModuleName.extraErrorMessage
)
kaxTask.succeed()
}
if (checkIfCodePushOptionsAreValid) {
kaxTask = kax.task(
'Ensuring that preconditions for code-push command are valid'
)
Ensure.checkIfCodePushOptionsAreValid(
checkIfCodePushOptionsAreValid.descriptors,
checkIfCodePushOptionsAreValid.targetBinaryVersion,
checkIfCodePushOptionsAreValid.semVerDescriptor,
checkIfCodePushOptionsAreValid.extraErrorMessage
)
kaxTask.succeed()