Skip to content

Commit 121c363

Browse files
1 parent b9b9ade commit 121c363

File tree

3 files changed

+21
-27
lines changed

3 files changed

+21
-27
lines changed

.changeset/lovely-bugs-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/cloudflare": patch
3+
---
4+
5+
bump `@opennextjs/aws` dependency to `https://pkg.pr.new/@opennextjs/aws@755`

packages/cloudflare/src/api/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ export function defineCloudflareConfig(options: CloudflareConfigOptions = {}): O
8383

8484
function resolveOverride<T extends IncrementalCache | TagCache | Queue>(
8585
value: T | (() => T | Promise<T>) | undefined
86-
): (() => Promise<T>) | "dummy" {
86+
): (() => T | Promise<T>) | "dummy" {
8787
if (!value) {
8888
return "dummy";
8989
}
9090

9191
if (typeof value === "function") {
92-
return async () => await value();
92+
return () => value();
9393
}
9494

9595
return async () => value;

pnpm-lock.yaml

Lines changed: 14 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)