Fix a broken link in webpack config (#8456)
* Fix a broken link in webpack config * Update test
This commit is contained in:
parent
878a92f101
commit
c3b18fdeaa
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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/
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue