Skip to content

Commit c743a74

Browse files
committed
change space indents
1 parent e532a2a commit c743a74

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/duckdb-wasm/src/bindings/bindings_base.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export abstract class DuckDBBindingsBase implements DuckDBBindings {
525525
}
526526
}
527527
}
528-
return handle;
528+
return handle;
529529
}
530530
/** Register a file object URL async */
531531
public async registerFileHandleAsync<HandleType>(
@@ -656,10 +656,10 @@ export abstract class DuckDBBindingsBase implements DuckDBBindings {
656656
}
657657
/** Enable tracking of file statistics */
658658
public registerOPFSFileName(file: string): Promise<void> {
659-
if (file.startsWith("opfs://")) {
660-
return this.prepareFileHandle(file, DuckDBDataProtocol.BROWSER_FSACCESS);
661-
} else {
662-
throw new Error("Not an OPFS file name: " + file);
659+
if (file.startsWith("opfs://")) {
660+
return this.prepareFileHandle(file, DuckDBDataProtocol.BROWSER_FSACCESS);
661+
} else {
662+
throw new Error("Not an OPFS file name: " + file);
663663
}
664664
}
665665
public async registerOPFSFileNameAsync(file: string): Promise<void> {

0 commit comments

Comments
 (0)