Skip to content

Commit

Permalink
[eas-cli] Add link to SDK upgrade page for SDK-gated command error
Browse files Browse the repository at this point in the history
  • Loading branch information
wschurman committed Oct 31, 2023
1 parent 2600805 commit 52c6013
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/eas-cli/src/project/projectUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getEASUpdateURL } from '../api';
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
import { AccountFragment, AppPrivacy } from '../graphql/generated';
import { AppQuery } from '../graphql/queries/AppQuery';
import Log from '../log';
import Log, { learnMore } from '../log';
import { Actor } from '../user/User';
import { expoCommandAsync } from '../utils/expoCli';

Expand Down Expand Up @@ -122,7 +122,9 @@ export async function enforceRollBackToEmbeddedUpdateSupportAsync(
}

throw new Error(
'The expo-updates package must have a version >= 0.19.0 to use roll back to embedded, which corresponds to Expo SDK 50 or greater.'
`The expo-updates package must have a version >= 0.19.0 to use roll back to embedded, which corresponds to Expo SDK 50 or greater. ${learnMore(
'https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/'
)}`
);
}

Expand Down

0 comments on commit 52c6013

Please sign in to comment.