Skip to content

Commit

Permalink
fix minor seed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zack committed Aug 13, 2024
1 parent f78f84e commit ee137f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async function seedStations(file: string, dateStr: string, length: number) {
// that we don't want to include. It's test data and somtimes
// malformed anyway.
!end_station_name.includes('Lab - NYC')
&& !start_station_name.includes('TEMP')
&& !end_station_name.includes('TEMP')
// Sometimes there are just malformed lines with missing station names
&& end_station_name !== undefined
&& end_station_name !== ''
Expand Down

0 comments on commit ee137f8

Please sign in to comment.