From 819a541f806d64c5b200a5bca0d1f6ce6fe7a67b Mon Sep 17 00:00:00 2001 From: Ronnie Smith Date: Sat, 7 Sep 2024 17:30:58 -0700 Subject: [PATCH] small adjustments to the change docs for kindkey and kindlabel --- core/change.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/change.go b/core/change.go index 3c53e03b..c9eadd1b 100644 --- a/core/change.go +++ b/core/change.go @@ -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:""` @@ -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