1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-27 18:34:29 +01:00

lint errors in import service

This commit is contained in:
Kyle Spearrin 2016-10-12 22:49:04 -04:00
parent 2ce1b12f6e
commit ef5f4df30f

View File

@ -243,11 +243,11 @@
site.name = value;
break;
case 'Notes':
site.notes = site.notes == null ? value + '\n' : site.notes + value + '\n';
site.notes = site.notes === null ? value + '\n' : site.notes + value + '\n';
break;
default:
// other custom fields
site.notes = site.notes == null ? key + ': ' + value + '\n'
site.notes = site.notes === null ? key + ': ' + value + '\n'
: site.notes + key + ': ' + value + '\n';
break;
}
@ -270,8 +270,8 @@
var groups = node.find('> Group');
if (groups.length) {
for (var i = 0; i < groups.length; i++) {
traverse($(groups[i]), false, groupName);
for (var k = 0; k < groups.length; k++) {
traverse($(groups[k]), false, groupName);
}
}
}