We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4436e4d commit e18b1b7Copy full SHA for e18b1b7
internal/runners/export/buildplan.go
@@ -39,14 +39,14 @@ func (b *BuildPlan) Run(params *BuildPlanParams) (rerr error) {
39
return errs.Wrap(err, "Could not get commit")
40
}
41
42
- bytes, err := commit.BuildScript().MarshalBuildExpression()
+ bytes, err := commit.BuildPlan().Marshal()
43
if err != nil {
44
- return errs.Wrap(err, "Could not marshal build expression")
+ return errs.Wrap(err, "Could not marshal build plan")
45
46
expr := make(map[string]interface{})
47
err = json.Unmarshal(bytes, &expr)
48
49
- return errs.Wrap(err, "Could not unmarshal build expression")
+ return errs.Wrap(err, "Could not unmarshal build plan")
50
51
52
out.Print(output.Prepare(string(bytes), expr))
0 commit comments