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

not always CSV data

This commit is contained in:
Kyle Spearrin 2017-11-28 10:07:21 -05:00
parent 0482ddea2c
commit cafb6fa694
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
var halfway = Math.floor(ciphers.length / 2); var halfway = Math.floor(ciphers.length / 2);
var last = ciphers.length - 1; var last = ciphers.length - 1;
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) { if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
importError('CSV data is not formatted correctly. Please check your import file and try again.'); importError('Data is not formatted correctly. Please check your import file and try again.');
return; return;
} }
} }

View File

@ -282,7 +282,7 @@
var halfway = Math.floor(ciphers.length / 2); var halfway = Math.floor(ciphers.length / 2);
var last = ciphers.length - 1; var last = ciphers.length - 1;
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) { if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
importError('CSV data is not formatted correctly. Please check your import file and try again.'); importError('Data is not formatted correctly. Please check your import file and try again.');
return; return;
} }
} }