Fix a broken link in webpack config (#8456)

* Fix a broken link in webpack config

* Update test
This commit is contained in:
Ran Yitzhaki 2019-08-21 18:58:31 +03:00 committed by Joe Haddad
parent 878a92f101
commit c3b18fdeaa
2 changed files with 2 additions and 2 deletions

View file

@ -643,7 +643,7 @@ export default async function getBaseWebpackConfig(
// @ts-ignore: Property 'then' does not exist on type 'Configuration'
if (typeof webpackConfig.then === 'function') {
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'
)
}
}

View file

@ -46,7 +46,7 @@ describe('Promise in next config', () => {
)
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/
)
})
})