Skip to content

Commit 45005a5

Browse files
ematipicoastrobot-houston
authored andcommitted
[ci] format
1 parent 1ec5b44 commit 45005a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/astro/src/core/session.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,11 @@ export class AstroSession<TDriver extends SessionDriverName = any> {
375375
return this.#storage!;
376376
}
377377
// Use fs-lite rather than fs, because fs can't be bundled. Add a default base path if not provided.
378-
if (this.#config.driver === 'fs' || this.#config.driver === 'fsLite' || this.#config.driver === 'fs-lite') {
378+
if (
379+
this.#config.driver === 'fs' ||
380+
this.#config.driver === 'fsLite' ||
381+
this.#config.driver === 'fs-lite'
382+
) {
379383
this.#config.options ??= {};
380384
this.#config.driver = 'fs-lite';
381385
(this.#config.options as BuiltinDriverOptions['fs-lite']).base ??= '.astro/session';

0 commit comments

Comments
 (0)