From 79e04fad9a30e3068d2658f897213e55dc4631ec Mon Sep 17 00:00:00 2001 From: Emre Deger Date: Fri, 15 Dec 2023 07:23:28 +0300 Subject: [PATCH] fix(config): add yaml struct tag to `CustomCommandPrompt.[]Options` add `yaml` struct tag for fixing uppercase issue on json schema --- pkg/config/user_config.go | 2 +- schema/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 70b81acca..3d772e778 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -557,7 +557,7 @@ type CustomCommandPrompt struct { // Menu options. // Only for menu prompts. - Options []CustomCommandMenuOption + Options []CustomCommandMenuOption `yaml:"options"` // The command to run to generate menu options // Only for menuFromCommand prompts. diff --git a/schema/config.json b/schema/config.json index 51b7439cb..186ca2576 100644 --- a/schema/config.json +++ b/schema/config.json @@ -1378,7 +1378,7 @@ "Are you sure you want to push to the remote?" ] }, - "Options": { + "options": { "items": { "properties": { "name": {