Skip to content

Commit 4691817

Browse files
committed
Fix lint
1 parent 6d26365 commit 4691817

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/controllers/csv.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function createEntitiesFromRows(rows) {
7373
Object.keys(row).forEach((key) => {
7474
const value = row[key];
7575
if (value !== '') {
76+
/* eslint-disable no-fallthrough */
7677
switch (key) {
7778
case 'agroVocConcept':
7879
case 'alternateName':
@@ -206,11 +207,14 @@ function createEntitiesFromRows(rows) {
206207
case 'postalCode':
207208
case 'providedBy':
208209
break;
210+
209211
default:
210212
if (!key.includes('_')) {
211213
debug('unknown : ' + key);
212214
}
213215
break;
216+
217+
/* eslint-enable no-fallthrough */
214218
}
215219
if (unitCode[key]) {
216220
entity[key].unitCode = unitCode[key];

0 commit comments

Comments
 (0)