Commit 27f517d2 authored by Mic Wehrle's avatar Mic Wehrle Committed by Tim Neutkens

Fix error messages in server/export.js (#2933)

parent a44c9e47
...@@ -63,8 +63,8 @@ export default async function (dir, options) { ...@@ -63,8 +63,8 @@ export default async function (dir, options) {
// Get the exportPathMap from the `next.config.js` // Get the exportPathMap from the `next.config.js`
if (typeof config.exportPathMap !== 'function') { if (typeof config.exportPathMap !== 'function') {
printAndExit( printAndExit(
'> Could not found "exportPathMap" function inside "next.config.js"\n' + '> Could not find "exportPathMap" function inside "next.config.js"\n' +
'> "next export" uses that function build html pages.' '> "next export" uses that function to build html pages.'
) )
} }
......
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