Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
CDA0 committed Nov 9, 2023
1 parent 1cd6236 commit 94228e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azuredevops/git.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package azuredevops

import (
"fmt"

"github.com/microsoft/azure-devops-go-api/azuredevops/git"
)

Expand All @@ -19,6 +21,8 @@ func (a *AzureDevOps) GetFileContent(projectName string, repoName string, versio
vt = git.GitVersionTypeValues.Commit
case "tag":
vt = git.GitVersionTypeValues.Tag
default:
return nil, fmt.Errorf("unknown version type: %s", versionType)
}

includeContent := true
Expand Down

0 comments on commit 94228e8

Please sign in to comment.