1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-19 15:57:42 +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; site.name = value;
break; break;
case 'Notes': 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; break;
default: default:
// other custom fields // other custom fields
site.notes = site.notes == null ? key + ': ' + value + '\n' site.notes = site.notes === null ? key + ': ' + value + '\n'
: site.notes + key + ': ' + value + '\n'; : site.notes + key + ': ' + value + '\n';
break; break;
} }
@ -270,8 +270,8 @@
var groups = node.find('> Group'); var groups = node.find('> Group');
if (groups.length) { if (groups.length) {
for (var i = 0; i < groups.length; i++) { for (var k = 0; k < groups.length; k++) {
traverse($(groups[i]), false, groupName); traverse($(groups[k]), false, groupName);
} }
} }
} }