diff options
author | 2024-12-19 11:12:01 +0000 | |
---|---|---|
committer | 2024-12-19 11:12:01 +0000 | |
commit | 45005a581d356e2cab4939031f036262ff1d9b5c (patch) | |
tree | e182d332a7e332248ec7ac2dd2c5ddba783f984d | |
parent | 1ec5b44ce3999f3528e9fa3cf6ed7f0ddb93c418 (diff) | |
download | astro-45005a581d356e2cab4939031f036262ff1d9b5c.tar.gz astro-45005a581d356e2cab4939031f036262ff1d9b5c.tar.zst astro-45005a581d356e2cab4939031f036262ff1d9b5c.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/session.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/astro/src/core/session.ts b/packages/astro/src/core/session.ts index 590a5e194..9ac7327c5 100644 --- a/packages/astro/src/core/session.ts +++ b/packages/astro/src/core/session.ts @@ -375,7 +375,11 @@ export class AstroSession<TDriver extends SessionDriverName = any> { return this.#storage!; } // Use fs-lite rather than fs, because fs can't be bundled. Add a default base path if not provided. - if (this.#config.driver === 'fs' || this.#config.driver === 'fsLite' || this.#config.driver === 'fs-lite') { + if ( + this.#config.driver === 'fs' || + this.#config.driver === 'fsLite' || + this.#config.driver === 'fs-lite' + ) { this.#config.options ??= {}; this.#config.driver = 'fs-lite'; (this.#config.options as BuiltinDriverOptions['fs-lite']).base ??= '.astro/session'; |