Skip to content

Commit

Permalink
Do not pass credentials metadata from Azure Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Mar 4, 2024
1 parent 34cd103 commit b93d606
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/dependabot/internal/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b93d606

Please sign in to comment.