Since Node.js v10, fs.readFile started reading the symlink target files instead of the contents of the symlink file itself.
dotenv-flow utilizes fs.readFileSync() to read the contents of the the.env* files, so it should be working out of the box, but to make it clear and ensure that the behavior is supported and won't be broken in the future I am adding this integration test.
Since Node.js v10,
fs.readFile
started reading the symlink target files instead of the contents of the symlink file itself.dotenv-flow utilizes
fs.readFileSync()
to read the contents of the the.env*
files, so it should be working out of the box, but to make it clear and ensure that the behavior is supported and won't be broken in the future I am adding this integration test.