Skip to content

Commit

Permalink
Fix typo in error message (#27438)
Browse files Browse the repository at this point in the history
Fixes typo mentioned in #27346 (comment)
  • Loading branch information
styfle authored Jul 23, 2021
1 parent bb779ec commit 1d347ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion errors/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
"path": "/errors/page-data-collection-timeout.md"
},
{
"titlle": "sharp-missing-in-production",
"title": "sharp-missing-in-production",
"path": "/errors/sharp-missing-in-production.md"
}
]
Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/image-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export async function imageOptimizer(
if (shouldShowSharpWarning) {
console.warn(
chalk.yellow.bold('Warning: ') +
`For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for image optimization.\n` +
`For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.\n` +
'Read more: https://nextjs.org/docs/messages/sharp-missing-in-production'
)
shouldShowSharpWarning = false
Expand Down

0 comments on commit 1d347ba

Please sign in to comment.