@keeex/projectconfig 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/loader.js +1 -1
- package/package.json +1 -1
package/lib/loader.js
CHANGED
|
@@ -136,7 +136,7 @@ const getFromCli = async (argv, argName, candidates) => {
|
|
|
136
136
|
};
|
|
137
137
|
/** Return the specified object from the first available source */
|
|
138
138
|
const getBaseData = async (argv, argName, candidates, predicate) => {
|
|
139
|
-
const result = (await getFromCli(argv, argName, candidates)) ?? getFromFile(argName, candidates);
|
|
139
|
+
const result = (await getFromCli(argv, argName, candidates)) ?? (await getFromFile(argName, candidates));
|
|
140
140
|
if (predicate) {
|
|
141
141
|
try {
|
|
142
142
|
predicate(result, true);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@keeex/projectconfig","version":"5.0.
|
|
1
|
+
{"name":"@keeex/projectconfig","version":"5.0.2","description":"Load project configuration with separate secrets","main":"./lib/index.js","scripts":{},"type":"module","author":"KeeeX SAS","contributors":[{"email":"gabriel@keeex.net","name":"Gabriel Paul \"Cley Faye\" Risterucci"}],"license":"SEE LICENSE IN LICENSE","files":["lib"],"exports":{".":"./lib/index.js","./env.js":"./lib/env.js","./index.js":"./lib/index.js","./lib/env.js":"./lib/env.js","./lib/index.js":"./lib/index.js","./lib/loader.js":"./lib/loader.js","./lib/types.js":"./lib/types.js","./loader.js":"./lib/loader.js","./types.js":"./lib/types.js"},"homepage":"https://keeex.me/oss"}
|