Skip to content

Commit

Permalink
Improved wording in comment (#10277)
Browse files Browse the repository at this point in the history
  • Loading branch information
stigkj authored and timneutkens committed Jan 27, 2020
1 parent 7e6e25d commit 799bb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/next-server/server/config.ts
Expand Up @@ -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`
)
}
// 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
if (userDistDir.length === 0) {
throw new Error(
Expand Down

0 comments on commit 799bb42

Please sign in to comment.