Explorar el Código

Merge pull request #7830 from SantiagoTorres/fix-go-test-invocation

bashbrew:go:cmd-cat: remove extra v in Sprintf
Tianon Gravi hace 5 años
padre
commit
8dc735cad4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bashbrew/go/src/bashbrew/cmd-cat.go

+ 1 - 1
bashbrew/go/src/bashbrew/cmd-cat.go

@@ -77,7 +77,7 @@ func cmdCat(c *cli.Context) error {
 				case manifest.Manifest2822Entry:
 					entries = append(entries, v)
 				default:
-					panic(fmt.Sprintf(`"archFilter" encountered unknown type: %T`, v, v))
+					panic(fmt.Sprintf(`"archFilter" encountered unknown type: %T`, v))
 				}
 			}
 			filtered := []manifest.Manifest2822Entry{}