Skip to content

Commit 9671e5f

Browse files
authored
fix: broken AssemblyScript migration link (#1983)
* Update dead link version.ts * Update dead link version.test.ts
1 parent 8d4d72d commit 9671e5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli/src/command-helpers/version.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe('Version Command Helpers', { concurrent: true }, () => {
222222
await expect(assertGraphTsVersion(fakeNodeModulesDir, minimumGraphTsVersion)).rejects.toThrow(
223223
new Error(
224224
`To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion}
225-
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`,
225+
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/`,
226226
),
227227
);
228228
});

packages/cli/src/command-helpers/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const assertGraphTsVersion = async (sourceDir: string, minimumGraphTsVers
4747
if (graphTsVersion && semver.lt(semver.coerce(graphTsVersion)!, minimumGraphTsVersion)) {
4848
throw new Error(
4949
`To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion}
50-
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`,
50+
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/`,
5151
);
5252
}
5353
};

0 commit comments

Comments
 (0)