Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Jan 22, 2025
1 parent 1ae6012 commit 73a357f
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 @@ -339,12 +339,12 @@ function readCsvFile (e) {
reader.readAsText(file)
}

function parseCsv(contents) {
function parseCsv (contents) {
/* global Papa */
const parsedData = Papa.parse(contents, {
header: true, // Automatically treat the first row as headers
dynamicTyping: true, // Automatically detect data types (e.g., numbers, strings)
skipEmptyLines: true, // Ignore empty lines in the CSV
skipEmptyLines: true // Ignore empty lines in the CSV
})

const headers = parsedData.meta.fields // Extract headers from the parsed result
Expand Down

0 comments on commit 73a357f

Please sign in to comment.