Skip to content

Commit b450496

Browse files
committed
Don’t show latest CLI warning when using a prerelease
1 parent ca78489 commit b450496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export async function updateTriggerPackages(
7474

7575
const newCliVersion = await updateCheck();
7676

77-
if (newCliVersion) {
77+
if (newCliVersion && !cliVersion.startsWith("0.0.0")) {
7878
prettyWarning(
7979
"You're not running the latest CLI version, please consider updating ASAP",
8080
`Current: ${cliVersion}\nLatest: ${newCliVersion}`,

0 commit comments

Comments
 (0)