updated dependencies and moved to new rendering
This commit is contained in:
parent
320dc096dd
commit
0a55030ae5
467 changed files with 64111 additions and 111050 deletions
4
vendor/github.com/urfave/cli/flag_int_slice.go
generated
vendored
4
vendor/github.com/urfave/cli/flag_int_slice.go
generated
vendored
|
|
@ -170,7 +170,9 @@ func lookupIntSlice(name string, set *flag.FlagSet) []int {
|
|||
func removeFromIntSlice(slice []int, val int) []int {
|
||||
for i, v := range slice {
|
||||
if v == val {
|
||||
return append(slice[:i], slice[i+1:]...)
|
||||
ret := append([]int{}, slice[:i]...)
|
||||
ret = append(ret, slice[i+1:]...)
|
||||
return ret
|
||||
}
|
||||
}
|
||||
return slice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue