Skip to content

Commit

Permalink
resolve annoying incompatibility bug
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Jul 19, 2022
1 parent b7ca767 commit 24d0e9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
rootCmd := &cobra.Command{
Use: "hashit",
Short: "hashit [FILE or DIRECTORY]",
Long: "Hash It!\nBen Boyter <[email protected]>",
Long: "Hash It!\nVersion " + processor.Version + "\nBen Boyter <[email protected]>",
Version: processor.Version,
Run: func(cmd *cobra.Command, args []string) {
processor.DirFilePaths = args
Expand Down
2 changes: 1 addition & 1 deletion processor/formatters.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func toJSON(input chan Result) string {

func toHashDeep(input chan Result) string {
var str strings.Builder

pwd, err := os.Getwd()
if err != nil {
printError(fmt.Sprintf("unable to determine working directory: %s", err.Error()))
Expand Down
2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// Global Version
var Version = "0.1.0"
var Version = "1.0.0"

// Verbose enables verbose logging output
var Verbose = false
Expand Down

0 comments on commit 24d0e9b

Please sign in to comment.