bajo 1.1.9 → 1.1.11
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/bajo/intl/en-US.json +2 -1
- package/bajo/intl/id.json +2 -1
- package/boot/lib/read-all-configs.js +0 -14
- package/package.json +1 -1
package/bajo/intl/en-US.json
CHANGED
package/bajo/intl/id.json
CHANGED
|
@@ -14,20 +14,6 @@ async function readAllConfigs (base) {
|
|
|
14
14
|
if (!['BAJO_CONFIG_FILE_NOT_FOUND'].includes(err.code)) throw err
|
|
15
15
|
}
|
|
16
16
|
return this.bajo.defaultsDeep({}, ext, cfg)
|
|
17
|
-
/*
|
|
18
|
-
try {
|
|
19
|
-
cfg = await readConfig.call(this.bajo, `${base}-${this.bajo.config.env}.*`)
|
|
20
|
-
} catch (err) {
|
|
21
|
-
if (['BAJO_CONFIG_NO_PARSER'].includes(err.code)) throw err
|
|
22
|
-
if (['BAJO_CONFIG_FILE_NOT_FOUND'].includes(err.code)) {
|
|
23
|
-
try {
|
|
24
|
-
cfg = await readConfig.call(this.bajo, `${base}.*`)
|
|
25
|
-
} catch (err) {
|
|
26
|
-
if (!['BAJO_CONFIG_FILE_NOT_FOUND'].includes(err.code)) throw err
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
*/
|
|
31
17
|
}
|
|
32
18
|
|
|
33
19
|
export default readAllConfigs
|