style:lint

This commit is contained in:
手瓜一十雪
2024-08-06 11:12:25 +08:00
parent a6dec70e4e
commit 607f63b40b
13 changed files with 72 additions and 64 deletions

View File

@@ -360,12 +360,12 @@ export async function promisePipeline(promises: Promise<any>[], callback: (resul
callbackCalled = callback(result);
}
} catch (error) {
console.error("Error in promise pipeline:", error);
console.error('Error in promise pipeline:', error);
}
}
}
export function getQQVersionConfigPath(exePath: string = ""): string | undefined {
export function getQQVersionConfigPath(exePath: string = ''): string | undefined {
let configVersionInfoPath;
if (os.platform() !== 'linux') {
configVersionInfoPath = path.join(path.dirname(exePath), 'resources', 'app', 'versions', 'config.json');