e2e: fix range indexing for args2env conversion
Was dropping the last argument in the slice.release-3.3
parent
107828d777
commit
954ec4d1a5
|
@ -105,7 +105,7 @@ func getCovArgs() ([]string, error) {
|
|||
|
||||
func args2env(args []string) []string {
|
||||
var covEnvs []string
|
||||
for i := range args[1:] {
|
||||
for i := range args {
|
||||
if !strings.HasPrefix(args[i], "--") {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue