Skip to content

Commit 7220ff9

Browse files
branch should only be created once before every grouped update
1 parent 39da3ca commit 7220ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/main/scala/org/scalasteward/core/nurture/NurtureAlg.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ final class NurtureAlg[F[_]](config: VCSCfg)(implicit
162162
data.update
163163
.on(
164164
update = editAlg.applyUpdate(data.repoData, _, createBranch),
165-
grouped = _.updates.flatTraverse(editAlg.applyUpdate(data.repoData, _, createBranch))
165+
grouped = createBranch >> _.updates.flatTraverse(editAlg.applyUpdate(data.repoData, _))
166166
)
167167
.flatMap { edits =>
168168
val editCommits = edits.flatMap(_.commits)

0 commit comments

Comments
 (0)