mirror of
https://github.com/geoffleyland/lua-csv.git
synced 2024-11-23 01:34:19 +00:00
whoops, there was a doubled-up unprotected call to column_map.transform in there
This commit is contained in:
parent
0ebafce1f7
commit
8eb59774ee
@ -337,7 +337,6 @@ local function separated_values_iterator(buffer, parameters)
|
|||||||
-- Insert the value into the table for this "line"
|
-- Insert the value into the table for this "line"
|
||||||
local key
|
local key
|
||||||
if parameters.column_map and header_read then
|
if parameters.column_map and header_read then
|
||||||
parameters.column_map:transform(value, field_count)
|
|
||||||
local ok
|
local ok
|
||||||
ok, value, key = pcall(parameters.column_map.transform,
|
ok, value, key = pcall(parameters.column_map.transform,
|
||||||
parameters.column_map, value, field_count)
|
parameters.column_map, value, field_count)
|
||||||
|
Loading…
Reference in New Issue
Block a user