From 5cd9e5e9811cbe7b416f61b7537e551cad469abe Mon Sep 17 00:00:00 2001 From: Josh Guyette Date: Mon, 12 Feb 2024 19:53:35 -0600 Subject: [PATCH] bug fix and package version increase --- ngenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngenv b/ngenv index 4b67fa3..a80f11c 100755 --- a/ngenv +++ b/ngenv @@ -353,7 +353,7 @@ function clearLogs() { function findProjectFolder(filename = ".env") { // Walk the path to find .env file... options?.env - let currentDir = __dirname; + let currentDir = process.cwd(); while (true) { const packageJsonPath = path.join(currentDir, "package.json"); if (fs.existsSync(packageJsonPath)) {