Skip to content

Commit 800f257

Browse files
author
srghma
committed
fix(#12): datasource_line_count: wrong number of arguments (given 0, expected 1)
1 parent b5e2d5b commit 800f257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/free_zipcode_data/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def start
5050
end
5151

5252
elapsed = Time.at(Time.now - start_time).utc.strftime('%H:%M:%S')
53-
logger.info("Processed #{datasource_line_count} zipcodes in [#{elapsed}].".yellow)
53+
logger.info("Processed #{datasource_line_count(datasource.datafile)} zipcodes in [#{elapsed}].".yellow)
5454
end
5555

5656
private

0 commit comments

Comments
 (0)