Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Jul 30, 2024
1 parent e1d2603 commit b9e213d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions plugins/components/conversionlayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,9 @@ func fillFlagMaps(c *Context, baseContext *cli.Context, originalFlags []Flag) er
}

if boolFlag, ok := flag.(BoolFlag); ok {
if baseContext.IsSet(boolFlag.Name) {
finalValue, skip := getValueForBoolFlag(boolFlag, baseContext)
if !skip {
c.boolFlags[boolFlag.Name] = finalValue
}
finalValue, skip := getValueForBoolFlag(boolFlag, baseContext)
if !skip {
c.boolFlags[boolFlag.Name] = finalValue
}
}
}
Expand Down

0 comments on commit b9e213d

Please sign in to comment.