Skip to content

Commit

Permalink
small adjustments to the change docs for kindkey and kindlabel
Browse files Browse the repository at this point in the history
  • Loading branch information
miniscruff committed Sep 8, 2024
1 parent b421102 commit 819a541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/change.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type Change struct {
// Component of our change, if one was provided.
Component string `yaml:",omitempty" default:""`
// Kind key of our change, if one was provided.
// Backwards compatible alias for [KindKey].
// Backwards compatible alias for KindKey.
Kind string `yaml:",omitempty" default:""`
// Body message of our change, if one was provided.
Body string `yaml:",omitempty" default:""`
Expand All @@ -76,9 +76,9 @@ type Change struct {
// Filename the change was saved to.
Filename string `yaml:"-"`
// Kind key of our change, if one was provided.
KindKey string `yaml:"-" default:""`
KindKey string `yaml:"kindKey,omitempty" default:""`
// Kind label of our change, if one was provided.
KindLabel string `yaml:"-" default:""`
KindLabel string `yaml:"kindLabel,omitempty" default:""`
}

// WriteTo will write a change to the writer as YAML
Expand Down

0 comments on commit 819a541

Please sign in to comment.