Skip to content

Commit

Permalink
Remove debug println
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Aug 23, 2022
1 parent f394c37 commit 0ef2352
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions altsrc/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,11 @@ func (f *BoolFlag) ApplyInputSourceValue(cCtx *cli.Context, isc InputSourceConte
if f.set != nil && !cCtx.IsSet(f.Name) && !isEnvVarSet(f.EnvVars) && isc.isSet(f.BoolFlag.Name) {
value, err := isc.Bool(f.BoolFlag.Name)
if err != nil {
fmt.Println(err)
return err
}
for _, name := range f.Names() {
_ = f.set.Set(name, strconv.FormatBool(value))
}
} else {
fmt.Println("not fill")
}
return nil
}
Expand Down

0 comments on commit 0ef2352

Please sign in to comment.