mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-07 15:52:47 +01:00
feat: improve python actions (#1083)
This commit is contained in:
@@ -16,7 +16,7 @@ func Flags(app core.App) ([]string, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var flags []string
|
||||
flags := make([]string, 0, len(records))
|
||||
|
||||
for _, r := range records {
|
||||
flags = append(flags, r.GetString("name"))
|
||||
@@ -36,7 +36,7 @@ func SetFlags(app core.App, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
var existingFlags []string
|
||||
var existingFlags []string //nolint:prealloc
|
||||
|
||||
for _, featureRecord := range featureRecords {
|
||||
// remove feature flags that are not in the args
|
||||
|
||||
Reference in New Issue
Block a user