From 22d562782bfb1a4c9b27618f71ade5c9a39eaf32 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Wed, 6 May 2026 10:50:37 -0300 Subject: [PATCH] fix(cli): resolve .env loading failure for global npm installations --- bin/omniroute.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/omniroute.mjs b/bin/omniroute.mjs index f0c5bcec44..a646e08961 100644 --- a/bin/omniroute.mjs +++ b/bin/omniroute.mjs @@ -44,6 +44,7 @@ function loadEnvFile() { } envPaths.push(join(process.cwd(), ".env")); + envPaths.push(join(ROOT, ".env")); for (const envPath of envPaths) { try {