fix: use ecoding

This commit is contained in:
TrèsAbhi committed 2024-02-21 12:51:39 -06:00
1 parent bcda936585
commit a4f2902365
1 file changed
+4 -2
+4 -2
View File
@@ -63,8 +63,10 @@ export async function tankModels(production: boolean) {
changes.push({
path: `3d/tanks/models/${id}.glb`,
content: Buffer.from(await nodeIO.writeBinary(model)).toString('base64'),
format: 'base64',
content: Buffer.from(await nodeIO.writeBinary(model)).toString(
'base64',
),
encoding: 'base64',
});
}),
);