cht-conf 3.18.0 → 3.18.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [3.18.2](https://github.com/medic/cht-conf/compare/v3.18.1...v3.18.2) (2023-04-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **#554:** update docker creds used to push cht-app-ide image ([#558](https://github.com/medic/cht-conf/issues/558)) ([59c1b53](https://github.com/medic/cht-conf/commit/59c1b530a2a2dc80b4ba4941283ba38635e97d51)), closes [#554](https://github.com/medic/cht-conf/issues/554)
7
+
8
+ ## [3.18.1](https://github.com/medic/cht-conf/compare/v3.18.0...v3.18.1) (2023-04-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **#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)
14
+
1
15
  # [3.18.0](https://github.com/medic/cht-conf/compare/v3.17.0...v3.18.0) (2023-04-11)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cht-conf",
3
- "version": "3.18.0",
3
+ "version": "3.18.2",
4
4
  "description": "Configure CHT deployments",
5
5
  "main": "./src/lib/main.js",
6
6
  "engines": {
@@ -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
  }