cht-conf 3.18.0 → 3.18.1
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/fn/upload-extension-libs.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.18.1](https://github.com/medic/cht-conf/compare/v3.18.0...v3.18.1) (2023-04-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **#555:** handle non-existent directory in update-extension-libs ([#557](https://github.com/medic/cht-conf/issues/557)) ([20ea03e](https://github.com/medic/cht-conf/commit/20ea03e27df266b43536addc795e842a47d37f07)), closes [#555](https://github.com/medic/cht-conf/issues/555)
|
|
7
|
+
|
|
1
8
|
# [3.18.0](https://github.com/medic/cht-conf/compare/v3.17.0...v3.18.0) (2023-04-11)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
const configurationDir = `${environment.pathToProject}/${projectPaths.EXTENSION_LIBS_PATH}`;
|
|
15
15
|
|
|
16
16
|
const attachments = attachmentsFromDir(configurationDir);
|
|
17
|
-
if (!Object.keys(attachments).length) {
|
|
17
|
+
if (!attachments || !Object.keys(attachments).length) {
|
|
18
18
|
log.info(`No configuration found at "${configurationDir}" - not uploading extension-libs`);
|
|
19
19
|
return;
|
|
20
20
|
}
|