Skip to content

Commit 77546f3

Browse files
authored
Merge pull request #790 from graphprotocol/otavio/fix-as-migration-guide-link
command-helpers: Fix AS migration guide link
2 parents 341eb94 + 2d7ce49 commit 77546f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/command-helpers/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const assertGraphTsVersion = async (sourceDir, minimumGraphTsVersion) => {
5757
if (graphTsVersion && semver.lt(semver.coerce(graphTsVersion), minimumGraphTsVersion)) {
5858
throw new Error(
5959
`To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion}
60-
Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://gist.github.com/otaviopace/8406cb39644d2e7678570d1e7f50dac4`
60+
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`
6161
)
6262
}
6363
}

src/command-helpers/version.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe('Version Command Helpers', () => {
197197
.rejects
198198
.toThrow(new Error(
199199
`To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion}
200-
Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://gist.github.com/otaviopace/8406cb39644d2e7678570d1e7f50dac4`
200+
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`
201201
))
202202
})
203203
test('When the installed graph-ts version is a supported one', async () => {

0 commit comments

Comments
 (0)