Skip to content

Commit

Permalink
Removed unnecessary taskDyn wrapping for StableDef.sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
laughedelic committed Oct 3, 2017
1 parent a7be687 commit 7af1257
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,13 @@ object ReleaseEarly {
val msg = Feedback.skipRelease(Keys.name.value)
Def.task(logger.info(msg))
} else {
logger.info(Feedback.logReleaseEarly(Keys.name.value))
val steps = ThisPluginKeys.releaseEarlyProcess.value
// Return task with unit value at the end
val initializedSteps = steps.map(_.toTask)
Def.taskDyn {
logger.info(Feedback.logReleaseEarly(Keys.name.value))
StableDef.sequential(initializedSteps, Def.task(()))
}
StableDef.sequential(
steps.map(_.toTask),
Def.task(())
)
}
}

Expand Down

0 comments on commit 7af1257

Please sign in to comment.