fix(deps): update module github.com/spf13/pflag to v1.0.6

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-01-29 19:02:56 +00:00
committed by GitHub
parent c285c7220f
commit 27386be189
9 changed files with 188 additions and 18 deletions

View File

@ -31,11 +31,7 @@ func (s *stringArrayValue) Append(val string) error {
func (s *stringArrayValue) Replace(val []string) error {
out := make([]string, len(val))
for i, d := range val {
var err error
out[i] = d
if err != nil {
return err
}
}
*s.value = out
return nil