style(assimp): fix prettier formatting
This commit is contained in:
parent
7d915ca603
commit
f7bbe717a2
1 changed files with 16 additions and 12 deletions
|
|
@ -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");
|
||||
});
|
||||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue