Skip to content

Commit a2dd1f1

Browse files
committed
chore: lint
1 parent 322da87 commit a2dd1f1

File tree

1 file changed

+1
-3
lines changed
  • packages/runtime/src/helpers

1 file changed

+1
-3
lines changed

packages/runtime/src/helpers/edge.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ export const writeEdgeFunctions = async ({
452452
}
453453

454454

455-
if (destr(process.env.NEXT_FORCE_EDGE_IMAGES)) {
456-
if (
455+
if (destr(process.env.NEXT_FORCE_EDGE_IMAGES) &&
457456
!destr(process.env.NEXT_DISABLE_EDGE_IMAGES) &&
458457
!destr(process.env.DISABLE_IPX)
459458
) {
@@ -474,7 +473,6 @@ export const writeEdgeFunctions = async ({
474473
path: '/_next/image*',
475474
})
476475
}
477-
}
478476

479477
if (usesEdge) {
480478
console.log(outdent`

0 commit comments

Comments
 (0)