chore: prepare v1.2.5
This commit is contained in:
parent
874503a300
commit
a3be110749
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "purescript-csv-stream",
|
||||
"version": "v1.2.4",
|
||||
"version": "v1.2.5",
|
||||
"dependencies": {
|
||||
"csv-parse": "^5.5.5",
|
||||
"csv-stringify": "^6.4.6"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package:
|
||||
name: csv-stream
|
||||
publish:
|
||||
version: '1.2.4'
|
||||
version: '1.2.5'
|
||||
license: 'GPL-3.0-or-later'
|
||||
location:
|
||||
githubOwner: 'cakekindel'
|
||||
|
@ -3,7 +3,7 @@ module Node.Stream.CSV.Parse where
|
||||
import Prelude hiding (join)
|
||||
|
||||
import Control.Alt ((<|>))
|
||||
import Control.Alternative (guard)
|
||||
import Control.Alternative (guard, empty)
|
||||
import Control.Monad.Error.Class (liftEither)
|
||||
import Control.Monad.Except (runExcept)
|
||||
import Control.Monad.Maybe.Trans (MaybeT(..), runMaybeT)
|
||||
@ -144,7 +144,7 @@ foreach stream cb =
|
||||
isClosed <- liftEffect $ Stream.closed stream
|
||||
if isClosed && isNothing r then
|
||||
pure unit
|
||||
else if isNothing r then
|
||||
else if isNothing r then do
|
||||
liftAff $ delay $ wrap 10.0
|
||||
empty
|
||||
else do
|
||||
|
Loading…
Reference in New Issue
Block a user