From b93d606ed0ce34fa941a320ff41978be9f66b8b4 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Mon, 4 Mar 2024 13:48:15 -0800 Subject: [PATCH] Do not pass credentials metadata from Azure Artifacts --- cmd/dependabot/internal/cmd/update.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/dependabot/internal/cmd/update.go b/cmd/dependabot/internal/cmd/update.go index ad3ad7d..cdd494b 100644 --- a/cmd/dependabot/internal/cmd/update.go +++ b/cmd/dependabot/internal/cmd/update.go @@ -358,13 +358,6 @@ func processInput(input *model.Input, flags *UpdateFlags) { "username": "x-access-token", "password": "$LOCAL_AZURE_ACCESS_TOKEN", }) - if len(input.Job.CredentialsMetadata) > 0 { - // Add the metadata since the next section will be skipped. - input.Job.CredentialsMetadata = append(input.Job.CredentialsMetadata, map[string]any{ - "type": azureArtifactsPackageManagerCredentialType[input.Job.PackageManager], - "host": host, - }) - } } } else { log.Printf("Skipping Azure Artifacts credentials for %s package manager.", input.Job.PackageManager)