Skip to content

Commit

Permalink
tiny refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mberndt123 committed Aug 1, 2023
1 parent 042a37d commit e23a06d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ object ZIOFTPExample extends ZIOAppDefault {
.via(ZPipeline.utf8Decode)
.runCollect
_ <- Console.printLine(s"Content of $path file:")
_ <- Console.printLine(file.fold("")(_ + _))
_ <- Console.printLine(file.mkString)
} yield ()

override def run = myApp.provideSomeLayer(unsecure(settings))
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ object ZIOFTPExample extends ZIOAppDefault {
.via(ZPipeline.utf8Decode)
.runCollect
_ <- Console.printLine(s"Content of $path file:")
_ <- Console.printLine(file.fold("")(_ + _))
_ <- Console.printLine(file.mkString)
} yield ()

override def run = myApp.provideSomeLayer(unsecure(settings))
Expand Down

0 comments on commit e23a06d

Please sign in to comment.