From 5904da2eb15c9f124a61853bd674384f4236c0a1 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Mon, 19 Oct 2020 16:05:15 -0400 Subject: [PATCH] Add logger to lowdb storage service --- jslib | 2 +- src/bwdc.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index d84d6da7..929ee827 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d84d6da7f77ec89ba69299b1ff982f083fd77203 +Subproject commit 929ee8277010a68f86500029089ac79899e60540 diff --git a/src/bwdc.ts b/src/bwdc.ts index 606017e6..4d92db1b 100644 --- a/src/bwdc.ts +++ b/src/bwdc.ts @@ -80,7 +80,7 @@ export class Main { this.logService = new ConsoleLogService(this.platformUtilsService.isDev(), (level) => process.env.BITWARDENCLI_CONNECTOR_DEBUG !== 'true' && level <= LogLevelType.Info); this.cryptoFunctionService = new NodeCryptoFunctionService(); - this.storageService = new LowdbStorageService(null, this.dataFilePath, true); + this.storageService = new LowdbStorageService(this.logService, null, this.dataFilePath, true); this.secureStorageService = plaintextSecrets ? this.storageService : new KeytarSecureStorageService(applicationName); this.cryptoService = new CryptoService(this.storageService, this.secureStorageService,