dotenv: disable log of what it has loaded which was added in 16.6.0

https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md#1660-2025-06-26
This commit is contained in:
Ralf Vogler 2025-07-23 00:33:00 +02:00
parent 78a65e9c73
commit 8c46b2eb69

View file

@ -1,7 +1,7 @@
import * as dotenv from 'dotenv';
import { dataDir } from './util.js';
dotenv.config({ path: 'data/config.env' }); // loads env vars from file - will not set vars that are already set, i.e., can overwrite values from file by prefixing, e.g., VAR=VAL node ...
dotenv.config({ path: 'data/config.env', quiet: true }); // loads env vars from file - will not set vars that are already set, i.e., can overwrite values from file by prefixing, e.g., VAR=VAL node ...
// Options - also see table in README.md
export const cfg = {