Skip to content

Commit

Permalink
chore: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Dec 6, 2023
1 parent 222bfe7 commit 85d599e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ var (
)

var rootCmd = &cobra.Command{
Use: "commitsense",
Short: "A tool to improve commit messages",
Use: "commitsense",
Short: "A tool to improve commit messages",
Long: `
CommitSense is a command-line tool that simplifies Git
version control by providing an interactive and standardized way to stage
Expand All @@ -47,6 +47,7 @@ files and create commit messages following the Conventional Commits specificatio
},
}

// SetVersion sets the version and build date for the application.
func SetVersion(version string, date string) {
rootCmd.Version = fmt.Sprintf("%s (Built on %s)", version, date)
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package main
import "commitsense/cmd"

var (
version string
version string
date string
)

Expand Down

0 comments on commit 85d599e

Please sign in to comment.