diff --git a/packages/cli/src/command-helpers/version.test.ts b/packages/cli/src/command-helpers/version.test.ts index 26aacc8d7..08c0cf63d 100644 --- a/packages/cli/src/command-helpers/version.test.ts +++ b/packages/cli/src/command-helpers/version.test.ts @@ -222,7 +222,7 @@ describe('Version Command Helpers', { concurrent: true }, () => { await expect(assertGraphTsVersion(fakeNodeModulesDir, minimumGraphTsVersion)).rejects.toThrow( new Error( `To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion} -Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/developer/assemblyscript-migration-guide`, +Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/en/resources/migration-guides/assemblyscript-migration-guide/`, ), ); }); diff --git a/packages/cli/src/command-helpers/version.ts b/packages/cli/src/command-helpers/version.ts index 4a33cd1c1..77d144733 100644 --- a/packages/cli/src/command-helpers/version.ts +++ b/packages/cli/src/command-helpers/version.ts @@ -47,7 +47,7 @@ export const assertGraphTsVersion = async (sourceDir: string, minimumGraphTsVers if (graphTsVersion && semver.lt(semver.coerce(graphTsVersion)!, minimumGraphTsVersion)) { throw new Error( `To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion} -Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/developer/assemblyscript-migration-guide`, +Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/en/resources/migration-guides/assemblyscript-migration-guide/`, ); } };