Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
fix: gitlab token provided bool (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimabru authored Oct 18, 2022
1 parent 389022f commit 86830d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fetch/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func NewGitlabCommand(deps *FetchCommandDependencies) *cobra.Command {
return executeGitlab(fetchGitlabDeps)
},
PostRun: func(cmd *cobra.Command, args []string) {
tokenWasProvided := deps.ConfigurationManager.GetGitlabToken()
tokenWasProvided := deps.ConfigurationManager.GetGitlabToken() != ""

analyticsArgs := make(map[string]any)
analyticsArgs["Total Fetched Repos"] = reposFetchCounter
Expand Down

0 comments on commit 86830d1

Please sign in to comment.