Skip to content

Commit

Permalink
feat (lib): add documentation to Install command
Browse files Browse the repository at this point in the history
  • Loading branch information
tbhaxor committed Jul 28, 2022
1 parent 4a5fced commit 4c6db43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"path/filepath"
)

// Install command will iterate the files from .husky/hooks create the hardlinks into .git/hooks and chmod to 0755 permission.
// The function intend to fail in case .git or .husky directory doesn't exist.
func Install() error {
fmt.Println("Installing hooks")

Expand Down

0 comments on commit 4c6db43

Please # to comment.