func (s *CreateBuildOptionsMap) Run(ctx *types.Context) error { buildOptions := ctx.ExtractBuildOptions() bytes, err := json.MarshalIndent(buildOptions, "", " ") if err != nil { return i18n.WrapError(err) } ctx.BuildOptionsJson = string(bytes) return nil }