Skip to content

Commit

Permalink
chore: (DSO-2004) Update commentGithub package name
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercm1410 committed Aug 26, 2024
1 parent f432af9 commit 5fdbb88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ package cmd
import (
"os"

commentGithub "github.com/gbh-tech/github-pr-commenter/src/comments"
comments "github.com/gbh-tech/github-pr-commenter/src/comments"

"github.com/charmbracelet/log"
"github.com/spf13/cobra"
)

var GithubClient commentGithub.GithubClient
var GithubClient comments.GithubClient

var RootCmd = &cobra.Command{
Use: "commenter",
Short: "A CLI to perform operation on GitHub PR issues.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
token := os.Getenv("GITHUB_TOKEN")
err := commentGithub.NewClient(token, &GithubClient)
err := comments.NewClient(token, &GithubClient)
if err != nil {
log.Fatalf("Error initializing GitHub client: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion src/comments/comments.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package githubComments
package comments

import (
"context"
Expand Down

0 comments on commit 5fdbb88

Please sign in to comment.