refactor: codacy autofix

This commit is contained in:
zhom
2025-06-11 03:56:14 +04:00
parent 42f63172fb
commit c586046542
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -127,7 +127,6 @@ const eslintConfig = tseslint.config(
tsconfigRootDir: import.meta.dirname,
},
},
},
);
});
export default eslintConfig;
+1 -1
View File
@@ -78,7 +78,7 @@ export async function startProxyProcess(
export async function stopProxyProcess(id: string): Promise<boolean> {
const config = getProxyConfig(id);
if (!config || !config.pid) {
if (!config?.pid) {
// Try to delete the config anyway in case it exists without a PID
deleteProxyConfig(id);
return false;