concourse / concourse

Redundant statements can be removed RVV-A0010
Anti-pattern
Major
5 months ago3 years old
Omit unnecessary return statement
 148	err = cmd.Run()
 149	s.NoError(err)
 150
 151	return 152}
 153
 154func (s *IntegrationSuite) AfterTest(suiteName, testName string) {
Omit unnecessary break at the end of case clause
489	case "https":
490	case "http":
491	case "":
492		break493	default:
494		return warnings, fmt.Errorf("background_image scheme must be either http, https or relative")
495	}