superfly / flyctl

Redundant else-blocks can be eliminated RVV-A0009
Anti-pattern
Major
a month ago2 years old
if block ends with a break statement, so drop this else and outdent its block
563		if err == readline.ErrInterrupt {
564			if len(line) == 0 {
565				break
566			} else {567				continue
568			}
569		} else if err == io.EOF {