Skip to content

Commit f3581e2

Browse files
committed
refactor: remove unreachable break statements in dtypeToHelper function
1 parent b4c67b3 commit f3581e2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/node/bson_binary_vector.spec.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ function dtypeToHelper(dtype_hex: string) {
5252
return 'fromPackedBits';
5353
case '0x03' /* int8 */:
5454
return 'fromInt8Array';
55-
break;
5655
case '0x27' /* float32 */:
5756
return 'fromFloat32Array';
58-
break;
5957
default:
6058
throw new Error(`Unknown dtype_hex: ${dtype_hex}`);
6159
}

0 commit comments

Comments
 (0)