chore: format

This commit is contained in:
C4illin
2024-09-12 12:59:59 +02:00
parent 16b322d4e6
commit e6a94fb21d

View File

@@ -9,7 +9,6 @@ export const properties = {
},
};
export function convert(
filePath: string,
fileType: string,
@@ -19,9 +18,7 @@ export function convert(
options?: any,
): Promise<string> {
return new Promise((resolve, reject) => {
exec(
`resvg "${filePath}" "${targetPath}"`,
(error, stdout, stderr) => {
exec(`resvg "${filePath}" "${targetPath}"`, (error, stdout, stderr) => {
if (error) {
reject(`error: ${error}`);
}
@@ -35,7 +32,6 @@ export function convert(
}
resolve("success");
},
);
});
});
}