From ec22d60b197f06e361d9312f77b05a665b64d1f8 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 1 Mar 2024 11:39:54 -0300 Subject: [PATCH] fix(winget): name is not actually required Signed-off-by: Carlos Alexandro Becker --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3b3d1e121..bb923ac96 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -315,7 +315,7 @@ func (a *NixDependency) UnmarshalYAML(unmarshal func(interface{}) error) error { } type Winget struct { - Name string `yaml:"name" json:"name"` + Name string `yaml:"name,omitempty" json:"name,omitempty"` PackageIdentifier string `yaml:"package_identifier,omitempty" json:"package_identifier,omitempty"` Publisher string `yaml:"publisher" json:"publisher"` PublisherURL string `yaml:"publisher_url,omitempty" json:"publisher_url,omitempty"`