docs(internal): fixed it with the appropriate link (#19286)

Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
This commit is contained in:
Hwangjae Lee 2024-01-31 23:00:37 +09:00 committed by GitHub
parent 27d99d1b68
commit ed31d73c11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ import (
// 2. the built-in implementations of pflag.SliceValue
// 3. the custom implementations of pflag.SliceValue that are split by comma ","
//
// see https://github.com/spf13/cobra/issues/2079#issuecomment-1867991505 for more detail info
// see https://github.com/spf13/cobra/issues/2079#issuecomment-1870115781 for more detail info
func ResetArgs(t *testing.T, cmd *cobra.Command) {
t.Helper()
// if flags haven't been parsed yet, there is no need to reset the args