1
0
mirror of https://github.com/bitwarden/web synced 2026-01-06 10:33:17 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-07-14 14:32:01 -04:00
parent 0242de9145
commit 715835c12f
7 changed files with 15 additions and 14 deletions

View File

@@ -351,7 +351,7 @@ angular
var cipherString = iv + '|' + ct;
if (encValue.mac) {
var mac = forge.util.encode64(encValue.mac)
var mac = forge.util.encode64(encValue.mac);
cipherString = cipherString + '|' + mac;
}
@@ -362,7 +362,7 @@ angular
return aesEncryptWC(plainValue, key).then(function (encValue) {
var macLen = 0;
if (encValue.mac) {
macLen = encValue.mac.length
macLen = encValue.mac.length;
}
var encBytes = new Uint8Array(1 + encValue.iv.length + macLen + encValue.ct.length);

View File

@@ -2504,7 +2504,7 @@
if (item.attributes.hasOwnProperty(attr) && attr !== 'username_value' &&
attr !== 'xdg:schema') {
if (login.notes !== '') {
login.notes += '\n'
login.notes += '\n';
}
login.notes += (attr + ': ' + item.attributes[attr]);
}