chore: attempt to fix nodecar build step

This commit is contained in:
zhom
2025-05-29 11:20:13 +04:00
parent 8b7fcf1a4d
commit 2ff93c8010
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import {
deleteProxyConfig,
isProcessRunning,
generateProxyId,
listProxyConfigs,
} from "./proxy-storage";
/**
@@ -103,7 +104,7 @@ export async function stopProxyProcess(id: string): Promise<boolean> {
* @returns Promise resolving when all proxies are stopped
*/
export async function stopAllProxyProcesses(): Promise<void> {
const configs = require("./proxy-storage").listProxyConfigs();
const configs = listProxyConfigs();
for (const config of configs) {
await stopProxyProcess(config.id);