1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

build(deps): update latest, fix issue with jest

This commit is contained in:
Divlo
2021-08-27 13:03:41 +02:00
parent d795650689
commit d934d6e7c2
7 changed files with 1705 additions and 2067 deletions

View File

@ -76,7 +76,9 @@ export class RunTestCommand extends Command {
console.log(successMessage)
return 0
} catch (error) {
console.error(`\n${chalk.bold.red('Error:')} ${error.message as string}`)
if (error instanceof Error) {
console.error(`${chalk.bold.red('Error:')} ${error.message}`)
}
return 1
}
}