Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Damion Dooley committed Sep 7, 2022
1 parent 0f054e6 commit d8ccbca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,10 @@ class DataHarmonizer {
async openFile(file) {
try {
let contentBuffer = await readFileAsync(file);
if (file.type === "application/json") {
if (file.type === 'application/json') {
console.log(JSON.parse(contentBuffer));
this.loadDataObjects(JSON.parse(contentBuffer));
}
else
this.loadSpreadsheetData(contentBuffer);
} else this.loadSpreadsheetData(contentBuffer);
} catch (err) {
console.log(err);
}
Expand Down

0 comments on commit d8ccbca

Please sign in to comment.