From 866954b18065994f5c80b145b9bd0ed6f1e55387 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 9 Mar 2018 16:42:10 -0500 Subject: [PATCH] fix lint issues --- src/app/services/importService.js | 4 ++-- src/app/tools/toolsExportController.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/services/importService.js b/src/app/services/importService.js index 8eebf73de28..5d5752edfdf 100644 --- a/src/app/services/importService.js +++ b/src/app/services/importService.js @@ -2983,8 +2983,8 @@ }; if (type === 'Web Logins' || type === 'Servers' || type === 'Email Accounts') { - cipher.login.uris = makeUriArray(value[4]), - cipher.login.username = value[2] && value[2] !== '' ? value[2] : null; + cipher.login.uris = makeUriArray(value[4]); + cipher.login.username = value[2] && value[2] !== '' ? value[2] : null; cipher.login.password = value[3] && value[3] !== '' ? value[3] : null; parseFieldsToNotes(5, value, cipher); } diff --git a/src/app/tools/toolsExportController.js b/src/app/tools/toolsExportController.js index 0b145f741b7..5d6aa0bd3a5 100644 --- a/src/app/tools/toolsExportController.js +++ b/src/app/tools/toolsExportController.js @@ -53,8 +53,9 @@ login_totp: null }; + var j; if (decCiphers[i].fields) { - for (var j = 0; j < decCiphers[i].fields.length; j++) { + for (j = 0; j < decCiphers[i].fields.length; j++) { if (!cipher.fields) { cipher.fields = ''; }