refactor: codacy autofix

This commit is contained in:
zhom committed 2025-06-11 03:56:14 +04:00
1 parent 42f63172fb
commit c586046542
2 files changed
+2 -3

No files matched your search

+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;