diff --git a/packages/cli/src/commands/repo/list-deprecations.ts b/packages/cli/src/commands/repo/list-deprecations.ts index d037344f18..b53118cc40 100644 --- a/packages/cli/src/commands/repo/list-deprecations.ts +++ b/packages/cli/src/commands/repo/list-deprecations.ts @@ -83,4 +83,8 @@ export async function command(cmd: Command) { console.log(`${location} - ${chalk.yellow(wrappedMessage)}`); } } + + if (deprecations.length > 0) { + process.exit(1); + } }