Skip to content

Commit

Permalink
Merge pull request #147 from scala-steward/update/fs2-core-3.9.2
Browse files Browse the repository at this point in the history
Update fs2-core, fs2-io to 3.9.2
  • Loading branch information
valencik authored Sep 13, 2023
2 parents 1a51c84 + 76e2b13 commit 36d9bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ThisBuild / scalaVersion := Scala213 // the default Scala

val catsV = "2.10.0"
val catsEffectV = "3.5.1"
val fs2V = "3.8.0"
val fs2V = "3.9.2"
val luceneV = "9.7.0"
val munitCatsEffectV = "2.0.0-M3"

Expand Down
4 changes: 2 additions & 2 deletions lucene/src/main/scala/textmogrify/lucene/AnalyzerPipe.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ sealed abstract case class AnalyzerPipe[F[_]](readerF: Reader => Resource[F, Tok
}
if (iter < tokenN)
// we finished early, no tokens left, final chunk
Pull.output(Chunk.indexedSeq(arr)).as(None)
Pull.output(Chunk.from(arr)).as(None)
else
Pull.output(Chunk.indexedSeq(arr)).as(Some(tk))
Pull.output(Chunk.from(arr)).as(Some(tk))
}

def go(tokens: Stream[F, TokenGetter]): Pull[F, String, Unit] =
Expand Down

0 comments on commit 36d9bb5

Please sign in to comment.