style(assimp): fix prettier formatting

This commit is contained in:
Dante Barbieri 2026-04-22 15:26:14 -05:00
parent 7d915ca603
commit f7bbe717a2
No known key found for this signature in database

View file

@ -121,7 +121,10 @@ export async function convert(
execFile: ExecFileFn = execFileOriginal, // to make it mockable
): Promise<string> {
return new Promise((resolve, reject) => {
execFile("assimp", ["export", filePath, targetPath, `-f${convertTo}`], (error, stdout, stderr) => {
execFile(
"assimp",
["export", filePath, targetPath, `-f${convertTo}`],
(error, stdout, stderr) => {
if (error) {
reject(`error: ${error}`);
}
@ -135,6 +138,7 @@ export async function convert(
}
resolve("Done");
});
},
);
});
}