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,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);
}

View File

@ -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 = '';
}