Skip to content

Commit d6152f2

Browse files
committed
fix formatting
1 parent ea48cf5 commit d6152f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,9 @@ export const toFloat32Array = (base64Str: string): Array<number> => {
12961296
if (typeof Buffer !== 'undefined') {
12971297
// for Node.js environment
12981298
const buf = Buffer.from(base64Str, 'base64');
1299-
return Array.from(new Float32Array(buf.buffer, buf.byteOffset, buf.length / Float32Array.BYTES_PER_ELEMENT));
1299+
return Array.from(
1300+
new Float32Array(buf.buffer, buf.byteOffset, buf.length / Float32Array.BYTES_PER_ELEMENT),
1301+
);
13001302
} else {
13011303
// for legacy web platform APIs
13021304
const binaryStr = atob(base64Str);

0 commit comments

Comments
 (0)