Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 19, 2024
1 parent 002e79e commit 3e443f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/presets/cloudflare/runtime/cloudflare-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ export default {
import.meta._websocket &&
request.headers.get("upgrade") === "websocket"
) {
return ws!.handleUpgrade(request as any, env, context as unknown as ExecutionContext);
return ws!.handleUpgrade(
request as any,
env,
context as unknown as ExecutionContext
);
}

const url = new URL(request.url);
Expand Down
4 changes: 3 additions & 1 deletion src/runtime/internal/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ import { storage } from "#nitro-internal-virtual/storage";
export function useStorage<T extends StorageValue = StorageValue>(
base = ""
): Storage<T> {
return (base ? prefixStorage(storage, base) : storage) as unknown as Storage<T>;
return (base
? prefixStorage(storage, base)
: storage) as unknown as Storage<T>;
}

0 comments on commit 3e443f4

Please sign in to comment.