From 2946cfce68fde4bab2a02c1f9de614e15203e855 Mon Sep 17 00:00:00 2001 From: Travis Tidwell Date: Mon, 25 Nov 2024 19:24:15 -0600 Subject: [PATCH] Upgrade package version. --- package.json | 2 +- src/Cloner.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5d6ebcf..88f68af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@formio/cli", - "version": "2.3.0", + "version": "2.3.1-rc.1", "description": "The Form.io Command Line Interface application.", "main": "index.js", "scripts": { diff --git a/src/Cloner.js b/src/Cloner.js index ee37ec9..3e21ee1 100644 --- a/src/Cloner.js +++ b/src/Cloner.js @@ -1033,6 +1033,9 @@ class Cloner { return; } const decryptedDstSettings = dest ? this.decrypt(this.options.dstDbSecret, dest['settings_encrypted'], true) : {}; + if (!decryptedDstSettings) { + return; + } if (decryptedDstSettings.secret) { this.dstSecret = decryptedDstSettings.secret; }