superfly / flyctl

Redefinition of builtin RVV-B0009
Bug risk
Major
a month ago2 years old
redefinition of the built-in type bool
180		fmt.Fprintln(io.ErrOut)
181	}
182
183	if bool, err := cmd.Flags().GetBool(flagnames.Debug); err == nil && bool {184		fmt.Fprintf(io.ErrOut, "Stacktrace:\n%s\n", debug.Stack())
185	}
186}
redefinition of the built-in function close
 81		}
 82
 83		out = io.MultiWriter(os.Stdout, f)
 84		close = func() { 85			_ = f.Sync()
 86			_ = f.Close()
 87		}