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:
parent
78a65e9c73
commit
8c46b2eb69
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import * as dotenv from 'dotenv';
|
import * as dotenv from 'dotenv';
|
||||||
import { dataDir } from './util.js';
|
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
|
// Options - also see table in README.md
|
||||||
export const cfg = {
|
export const cfg = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue