bug fix and package version increase

This commit is contained in:
Josh Guyette 2024-02-12 19:53:35 -06:00
parent 504346a158
commit 5cd9e5e981
1 changed files with 1 additions and 1 deletions

2
ngenv
View File

@ -353,7 +353,7 @@ function clearLogs() {
function findProjectFolder(filename = ".env") { function findProjectFolder(filename = ".env") {
// Walk the path to find .env file... options?.env // Walk the path to find .env file... options?.env
let currentDir = __dirname; let currentDir = process.cwd();
while (true) { while (true) {
const packageJsonPath = path.join(currentDir, "package.json"); const packageJsonPath = path.join(currentDir, "package.json");
if (fs.existsSync(packageJsonPath)) { if (fs.existsSync(packageJsonPath)) {