Commit 799bb425 authored by Stig Kleppe-Jørgensen's avatar Stig Kleppe-Jørgensen Committed by Tim Neutkens

Improved wording in comment (#10277)

parent 7e6e25de
...@@ -97,7 +97,7 @@ function assignDefaults(userConfig: { [key: string]: any }) { ...@@ -97,7 +97,7 @@ function assignDefaults(userConfig: { [key: string]: any }) {
`The 'public' directory is reserved in Next.js and can not be set as the 'distDir'. https://err.sh/zeit/next.js/can-not-output-to-public` `The 'public' directory is reserved in Next.js and can not be set as the 'distDir'. https://err.sh/zeit/next.js/can-not-output-to-public`
) )
} }
// make sure distDir isn't an empty string which can result the provided // make sure distDir isn't an empty string as it can result in the provided
// directory being deleted in development mode // directory being deleted in development mode
if (userDistDir.length === 0) { if (userDistDir.length === 0) {
throw new Error( throw new Error(
......
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