diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js index 069292f3..2319c13a 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -768,7 +768,7 @@ async function processAlbumDataFile(file) { // We'll just return more specific errors if it's missing necessary data // fields. - const contentLines = contents.split('\n'); + const contentLines = contents.split(/\r\n|\r|\n/); // In this line of code I defeat the purpose of using a generator in the // first place. Sorry!!!!!!!! |