Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Sep 17, 2024
1 parent 497a907 commit d35893c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions group_manager/static/group_manager/js/group_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ function readCsvFile (e) {
// remove unwanted characters
contents = contents.replaceAll('"', '').replaceAll("'", '').replaceAll(' ', '').replaceAll('\r', '')

// remove extra newlines at end of file
// remove extra newline(s) at end of file
while (contents[contents.length - 1] === '\n') {
contents = contents.slice(0, contents.length - 1);
contents = contents.slice(0, contents.length - 1)
}

// ensure correct separator ','
Expand Down

0 comments on commit d35893c

Please sign in to comment.