test: change order of parameters in ExecFileFn type

This commit is contained in:
Jörg Krzeslak 2025-07-24 19:33:55 +02:00
parent eac22d53d3
commit af68498494
24 changed files with 36 additions and 68 deletions

View file

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