Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const commandHandler = async () => {
const repositories = cauldronRepositories.list()
if (!repositories) {
throw new Error('No Cauldron repositories have been added yet')
}
log.info('[Cauldron Repositories]')
repositories.forEach(repo => log.info(`${repo.alias} -> ${repo.url}`))
}