diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2021-12-20 21:55:56 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2021-12-20 21:55:56 -0400 |
commit | 75bbc85952031514d510d9f8bd4307ede58d2e35 (patch) | |
tree | 5eb5cbbb865e0ebfb3fbdbc5ee3030df16e3ae50 | |
parent | 6a664063d35568b470fb137836961682ab23af60 (diff) |
crlf hell pt. I
-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!!!!!!!! |