Skip to content

Commit

Permalink
Update helpers/import.js
Browse files Browse the repository at this point in the history
Co-Authored-By: ilias bhallil <ilias.bhal@gmail.com>
  • Loading branch information
lvancraen and iliasbhal committed Jun 21, 2019
1 parent 37e3a55 commit 40bdcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function getKeysAndRowsSlices(buffer, regexPatternObjects, tableName) {
function processGtfsTable(gtfs, keys, rowsSlices, tableName, indexKeys) {
let table = (indexKeys.setOfItems) ? new Set() : new Map();

if (rowsSlices === undefined || rowsSlices === null || rowsSlices.length === 0) {
if (!rowsSlices || rowsSlices.length === 0) {
return table;
}

Expand Down

0 comments on commit 40bdcdb

Please sign in to comment.