Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed May 15, 2024
1 parent 339852c commit b9e7042
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/src/server/image-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export class ImageOptimizerCache {
}

if (url.startsWith('//')) {
return { errorMessage: '"url" parameter cannot be a protocol-relative URL (//)'}
return {
errorMessage: '"url" parameter cannot be a protocol-relative URL (//)',
}
}

let isAbsolute: boolean
Expand Down

0 comments on commit b9e7042

Please sign in to comment.