Commit c3b18fde authored by Ran Yitzhaki's avatar Ran Yitzhaki Committed by Joe Haddad

Fix a broken link in webpack config (#8456)

* Fix a broken link in webpack config

* Update test
parent 878a92f1
...@@ -643,7 +643,7 @@ export default async function getBaseWebpackConfig( ...@@ -643,7 +643,7 @@ export default async function getBaseWebpackConfig(
// @ts-ignore: Property 'then' does not exist on type 'Configuration' // @ts-ignore: Property 'then' does not exist on type 'Configuration'
if (typeof webpackConfig.then === 'function') { if (typeof webpackConfig.then === 'function') {
console.warn( console.warn(
'> 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'
) )
} }
} }
......
...@@ -46,7 +46,7 @@ describe('Promise in next config', () => { ...@@ -46,7 +46,7 @@ describe('Promise in next config', () => {
) )
expect(stderr).toMatch( expect(stderr).toMatch(
/> 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/
) )
}) })
}) })
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