bug fix and package version increase
This commit is contained in:
parent
504346a158
commit
5cd9e5e981
2
ngenv
2
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)) {
|
||||
|
|
Loading…
Reference in New Issue