flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
BACK_BACK/node_modules/dotenv/lib/cli-options.js
generated
vendored
Executable file
11
BACK_BACK/node_modules/dotenv/lib/cli-options.js
generated
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
const re = /^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/
|
||||
|
||||
module.exports = function optionMatcher (args) {
|
||||
return args.reduce(function (acc, cur) {
|
||||
const matches = cur.match(re)
|
||||
if (matches) {
|
||||
acc[matches[1]] = matches[2]
|
||||
}
|
||||
return acc
|
||||
}, {})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue