1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-26 09:54:35 +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 last = ciphers.length - 1;
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;
}
}

View File

@ -282,7 +282,7 @@
var halfway = Math.floor(ciphers.length / 2);
var last = ciphers.length - 1;
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;
}
}