Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix(dsl): fix empty strategy (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
iguissouma authored Feb 11, 2021
1 parent 3b89bdc commit 0b5c7fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class ChutneyStepBuilder(var description: String = "", var strategy: Strategy? =
}

fun Step(description: String = "", block: ChutneyStepBuilder.() -> Unit) {
subSteps.add(ChutneyStepBuilder(description, strategy).apply(block).build())
subSteps.add(ChutneyStepBuilder(description).apply(block).build())
}

fun ContextPutTask(entries: Map<String, Any>, outputs: Map<String, Any> = mapOf()) {
Expand Down

0 comments on commit 0b5c7fa

Please sign in to comment.