Unverified Commit 1dbacda5 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Remove extension from err.sh link (#8500)

* Remove extensions from err.sh link

* Remove .md from test also
parent 30cd8c28
...@@ -89,7 +89,7 @@ function normalizeConfig(phase: string, config: any) { ...@@ -89,7 +89,7 @@ function normalizeConfig(phase: string, config: any) {
if (typeof config.then === 'function') { if (typeof config.then === 'function') {
throw new Error( throw new Error(
'> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config.md' '> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config'
) )
} }
} }
......
...@@ -24,7 +24,7 @@ describe('Promise in next config', () => { ...@@ -24,7 +24,7 @@ describe('Promise in next config', () => {
) )
expect(stderr).toMatch( expect(stderr).toMatch(
/Error: > Promise returned in next config\. https:\/\/err\.sh\/zeit\/next\.js\/promise-in-next-config\.md/ /Error: > Promise returned in next config\. https:\/\/err\.sh\/zeit\/next\.js\/promise-in-next-config/
) )
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment