Skip to content

Commit

Permalink
fix: long strings JSON parsing (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
DieMyst authored Feb 16, 2023
1 parent 3635a0b commit ee0b967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli/src/main/scala/aqua/FileOpts.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object FileOpts {
Files[F]
.readAll(p)
.through(fs2.text.utf8.decode)
.fold(List.empty[String]) { case (acc, str) => str :: acc }
.fold(List.empty[String]) { case (acc, str) => acc :+ str }
.map(_.mkString(""))
.map(str => transform(p, str).map(r => (p, r)))
.compile
Expand Down

0 comments on commit ee0b967

Please sign in to comment.