Skip to content

Commit c0785ee

Browse files
committed
Only print CLI update required message when update is embedded
1 parent 3b5fbb9 commit c0785ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli-v3/src/commands/update.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ export async function updateTriggerPackages(
168168
}
169169

170170
// WARNING: We can only start accepting user input once we know this is a TTY, otherwise, the process will exit with an error in CI
171-
172-
if (isDowngrade) {
171+
if (isDowngrade && embedded) {
173172
printUpdateTable("Versions", mismatches, cliVersion, "installed", "CLI");
174173

175174
outro("CLI update required!");

0 commit comments

Comments
 (0)