Skip to content

Commit f6f6eb4

Browse files
rustyconoverclaude
andcommitted
Fix biome formatting in conform.ts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 84e8c4a commit f6f6eb4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/util/conform.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
import {
55
type DataType,
6+
makeData,
67
RecordBatch,
8+
type Schema,
79
Struct,
810
Type,
9-
makeData,
10-
type Schema,
1111
vectorFromArray,
1212
} from "@query-farm/apache-arrow";
1313

@@ -47,9 +47,7 @@ export function conformBatchToSchema(batch: RecordBatch, schema: Schema): Record
4747

4848
// Validate field count and names match before attempting any cast.
4949
if (batch.schema.fields.length !== schema.fields.length) {
50-
throw new TypeError(
51-
`Field count mismatch: expected ${schema.fields.length}, got ${batch.schema.fields.length}`,
52-
);
50+
throw new TypeError(`Field count mismatch: expected ${schema.fields.length}, got ${batch.schema.fields.length}`);
5351
}
5452
for (let i = 0; i < schema.fields.length; i++) {
5553
if (batch.schema.fields[i].name !== schema.fields[i].name) {

0 commit comments

Comments
 (0)