1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00

fix lint issues

This commit is contained in:
Kyle Spearrin 2018-03-09 16:42:10 -05:00
parent befa9cbf08
commit 866954b180
2 changed files with 4 additions and 3 deletions

View File

@ -2983,7 +2983,7 @@
}; };
if (type === 'Web Logins' || type === 'Servers' || type === 'Email Accounts') { if (type === 'Web Logins' || type === 'Servers' || type === 'Email Accounts') {
cipher.login.uris = makeUriArray(value[4]), cipher.login.uris = makeUriArray(value[4]);
cipher.login.username = value[2] && value[2] !== '' ? value[2] : null; cipher.login.username = value[2] && value[2] !== '' ? value[2] : null;
cipher.login.password = value[3] && value[3] !== '' ? value[3] : null; cipher.login.password = value[3] && value[3] !== '' ? value[3] : null;
parseFieldsToNotes(5, value, cipher); parseFieldsToNotes(5, value, cipher);

View File

@ -53,8 +53,9 @@
login_totp: null login_totp: null
}; };
var j;
if (decCiphers[i].fields) { 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) { if (!cipher.fields) {
cipher.fields = ''; cipher.fields = '';
} }