mirror of
https://github.com/punga78/k8s-yaml-generator
synced 2026-11-30 02:23:05 +00:00
desrciption
This commit is contained in:
1 parent
8ba1a8dd12
commit
8f09e75494
1 file changed
+1
-1
@@ -37,7 +37,7 @@ let envConfig = {};
|
||||
const envExist = fs.existsSync(envPath);
|
||||
if (envExist) {
|
||||
dotenv.config({ path: envPath });
|
||||
log("Loaded environment variables from the .env file");
|
||||
log(`Loaded environment variables from the ${envPath} file`);
|
||||
// Set default values for PORT and HOST if not defined
|
||||
envConfig = dotenv.parse(fs.readFileSync(envPath));
|
||||
log(`envConfig: ${JSON.stringify(envConfig)}`);
|
||||
|
||||
Reference in new issue
Block a user