Skip to content

Commit

Permalink
Changed single pipe to double pipes, just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Jul 10, 2024
1 parent 0407647 commit 6761e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-node-norm.sc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object CheckNodeNorm extends ZIOAppDefault {
.groupByKey(_.modelURL) {
(modelURL, entries) => ZStream.fromZIO(for {
nodes <- (entries.map(_.subj) ++ entries.map(_.obj)).runCollect
line = s"${modelURL}\t${nodes.toSet.toSeq.sorted.mkString("|")}"
line = s"${modelURL}\t${nodes.toSet.toSeq.sorted.mkString("||")}"
} yield line)
}
.via(ZPipeline.intersperse("\n") >>> ZPipeline.utf8Encode)
Expand Down

0 comments on commit 6761e0a

Please sign in to comment.