Skip to content

Commit

Permalink
Merge pull request #3356 from GreyPlane/pr/collect-fold-to-fold-map
Browse files Browse the repository at this point in the history
use foldMap instead of collectFold
  • Loading branch information
exoego authored Oct 1, 2024
2 parents ab9075e + 0f20ebe commit 5a43d80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ final class SbtAlg[F[_]](config: Config)(implicit
plugin <- Resource.eval(stewardPlugin(pluginVersion))
_ <- List
.iterate(buildRootDir / project, metaBuilds + 1)(_ / project)
.collectFold(fileAlg.createTemporarily(_, plugin))
.foldMap(fileAlg.createTemporarily(_, plugin))
} yield ()

private def stewardPlugin(version: String): F[FileData] = {
Expand Down

0 comments on commit 5a43d80

Please sign in to comment.