Skip to content

Commit

Permalink
fix(api): add minimum parameter for coverage action in edit as code (#…
Browse files Browse the repository at this point in the history
…3713)

Signed-off-by: Benjamin Coenen <[email protected]>
  • Loading branch information
bnjjj authored and fsamin committed Dec 13, 2018
1 parent e6eb934 commit 16d5bdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/exportentities/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ func newSteps(a sdk.Action) []Step {
if format != nil {
coverageArgs["format"] = format.Value
}
minimum := sdk.ParameterFind(&act.Parameters, "minimum")
if minimum != nil {
coverageArgs["minimum"] = minimum.Value
}
s["coverage"] = coverageArgs
case sdk.ArtifactDownload:
artifactDownloadArgs := map[string]string{}
Expand Down

0 comments on commit 16d5bdb

Please sign in to comment.