superfly / flyctl

Function with cyclomatic complexity higher than threshold GO-R1005
Anti-pattern
Minor
1 occurrence in this check
func buildManifest has a cyclomatic complexity of 26 with "very-high" risk
 70	}
 71}
 72
 73func buildManifest(ctx context.Context, canEnterUi bool) (*LaunchManifest, *planBuildCache, error) { 74	var recoverableInUiErrors []recoverableInUiError
 75	tryRecoverErr := func(e error) error {
 76		var asRecoverableErr recoverableInUiError