api/server/backend/build/backend.go
Method Backend.Build
has 7 return statements (exceeds 4 allowed). Open
Open
func (b *Backend) Build(ctx context.Context, config backend.BuildConfig) (string, error) {
options := config.Options
useBuildKit := options.Version == types.BuilderBuildKit
tags, err := sanitizeRepoAndTags(options.Tags)