Open naseemkullah opened 8 months ago
The main reason for this PR is actually to support new features in dotenv related to config via env vars.
see https://github.com/motdotla/dotenv#preload for examples of DOTENVCONFIG* env vars.
Note, this makes the use of the require('rc')('db-migrate') added via aef82c3300dec288d6fdfbdde4672e521eda6479 somewhat redundant, since DOTENV_CONFIG_PATH is one of the env vars supported by dotenv.
@wzrdtales friendly ping
The main reason for this PR is actually to support new features in dotenv related to config via env vars.
see https://github.com/motdotla/dotenv#preload for examples of DOTENVCONFIG* env vars.
Note, this makes the use of the require('rc')('db-migrate') added via aef82c3300dec288d6fdfbdde4672e521eda6479 somewhat redundant, since DOTENV_CONFIG_PATH is one of the env vars supported by dotenv.