From dcaeb85b7c96a6ea959421427ce7c2974007903d Mon Sep 17 00:00:00 2001 From: joel Date: Fri, 5 Apr 2024 06:09:52 +0800 Subject: [PATCH] fix: run prettier and bump node version --- .github/workflows/ci.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 2 +- packages/ssr/src/createBrowserClient.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6e0acab..6c423da2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: Lint: strategy: matrix: - node: ['18'] + node: ['20'] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ca2b15eb..99dd8d39 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: ['18'] + node: ['20'] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e78023da..b0f3f6e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: name: Release / Node ${{ matrix.node }} strategy: matrix: - node: ['18'] + node: ['20'] runs-on: ubuntu-latest diff --git a/packages/ssr/src/createBrowserClient.ts b/packages/ssr/src/createBrowserClient.ts index 011cebd8..8e93c4a6 100644 --- a/packages/ssr/src/createBrowserClient.ts +++ b/packages/ssr/src/createBrowserClient.ts @@ -48,7 +48,7 @@ export function createBrowserClient< if (options) { ({ cookies, isSingleton = true, cookieOptions, ...userDefinedClientOptions } = options); - cookies = cookies || {}; + cookies = cookies || {}; } const cookieClientOptions = {