Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anil-sarodh committed Jan 9, 2024
1 parent e6daafe commit 8b2ca33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions capten/common-pkg/plugins/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ func (g *GitClient) Add(path string) error {
return err
}

s, err := w.Status()
if err != nil {
fmt.Println("Error => " + err.Error())
}
fmt.Printf("Status = \n %+v \n", s)

_, err = w.Add(path)
if err != nil {
return err
Expand Down

0 comments on commit 8b2ca33

Please sign in to comment.