Skip to content

Commit e18b1b7

Browse files
committed
Marshal BuildPlan and not BuildExpression
1 parent 4436e4d commit e18b1b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/runners/export/buildplan.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ func (b *BuildPlan) Run(params *BuildPlanParams) (rerr error) {
3939
return errs.Wrap(err, "Could not get commit")
4040
}
4141

42-
bytes, err := commit.BuildScript().MarshalBuildExpression()
42+
bytes, err := commit.BuildPlan().Marshal()
4343
if err != nil {
44-
return errs.Wrap(err, "Could not marshal build expression")
44+
return errs.Wrap(err, "Could not marshal build plan")
4545
}
4646
expr := make(map[string]interface{})
4747
err = json.Unmarshal(bytes, &expr)
4848
if err != nil {
49-
return errs.Wrap(err, "Could not unmarshal build expression")
49+
return errs.Wrap(err, "Could not unmarshal build plan")
5050
}
5151

5252
out.Print(output.Prepare(string(bytes), expr))

0 commit comments

Comments
 (0)