fix: Fix line endings for windows (#1169)
This commit is contained in:
@@ -152,7 +152,8 @@ function LinesPipe:iter(schedule)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
return (previous or "") .. (read or "")
|
read = string.gsub(read or "", "\r", "")
|
||||||
|
return (previous or "") .. read
|
||||||
end
|
end
|
||||||
|
|
||||||
local next_value = nil
|
local next_value = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user