diff --git a/package-lock.json b/package-lock.json index 154be9d..62e1aba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@types/express": "^4.17.13", "axios": "^0.24.0", "concurrently": "^6.3.0", - "docker-secret": "idevjoe/docker-secret#1.2.4", + "docker-secret": "^1.2.4", "dotenv": "^10.0.0", "express": "^4.17.1", "jsonwebtoken": "^8.5.1", @@ -1191,9 +1191,9 @@ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, "node_modules/docker-secret": { - "version": "1.2.3", - "resolved": "git+ssh://git@github.com/idevjoe/docker-secret.git#556bce1313193c1a599767e2651f50730b934f86", - "license": "MIT", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/docker-secret/-/docker-secret-1.2.4.tgz", + "integrity": "sha512-aH3truzfxV8TikMa0wJES8h0v2FAwhuQZYk116ZVOHFZ1vnDTGutgCOvXmBPyLBG1Lo7yv93FdHVRTvhFFaC/g==", "engines": { "node": ">= 6" } @@ -5335,8 +5335,9 @@ } }, "docker-secret": { - "version": "git+ssh://git@github.com/idevjoe/docker-secret.git#556bce1313193c1a599767e2651f50730b934f86", - "from": "docker-secret@idevjoe/docker-secret#1.2.4" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/docker-secret/-/docker-secret-1.2.4.tgz", + "integrity": "sha512-aH3truzfxV8TikMa0wJES8h0v2FAwhuQZYk116ZVOHFZ1vnDTGutgCOvXmBPyLBG1Lo7yv93FdHVRTvhFFaC/g==" }, "dot-prop": { "version": "5.3.0", diff --git a/package.json b/package.json index 71a950b..1b3c92b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@types/express": "^4.17.13", "axios": "^0.24.0", "concurrently": "^6.3.0", - "docker-secret": "idevjoe/docker-secret#1.2.4", + "docker-secret": "^1.2.4", "dotenv": "^10.0.0", "express": "^4.17.1", "jsonwebtoken": "^8.5.1", diff --git a/utils/init/initDockerSecrets.js b/utils/init/initDockerSecrets.js index dda3b2a..c38a33f 100644 --- a/utils/init/initDockerSecrets.js +++ b/utils/init/initDockerSecrets.js @@ -13,8 +13,8 @@ const initDockerSecrets = () => { logger.log(`${upperProperty} was overwritten with docker secret value`); } - } catch(e) { - logger.log('Failed to initialize docker secrets. Error: ' + e, 'ERROR'); + } catch (e) { + logger.log(`Failed to initialize docker secrets. Error: ${e}`, 'ERROR'); } };