Skip to content

Commit

Permalink
fix deleted end curly braces in client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel.wert committed Sep 22, 2022
1 parent 6952c0d commit ebdd392
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clients/gitlabrepo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type Client struct {
languages *languagesHandler
ctx context.Context
tarball tarballHandler
}

// InitRepo sets up the GitLab project in local storage for improving performance and GitLab token usage efficiency.
func (client *Client) InitRepo(inputRepo clients.Repo, commitSHA string) error {
Expand Down Expand Up @@ -121,6 +122,9 @@ func (client *Client) InitRepo(inputRepo clients.Repo, commitSHA string) error {
// Init tarballHandler
client.tarball.init(client.ctx, client.repourl, client.repo, commitSHA)

return nil
}

func (client *Client) URI() string {
return fmt.Sprintf("%s/%s/%s", client.repourl.hostname, client.repourl.owner, client.repourl.projectID)
}
Expand Down

0 comments on commit ebdd392

Please sign in to comment.