Skip to content

Commit

Permalink
Prefix errors with chezmoi:
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 16, 2018
1 parent 4021463 commit f6ae4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func makeRunE(runCommand func(vfs.FS, *cobra.Command, []string) error) func(*cob
}

func printErrorAndExit(err error) {
fmt.Println(err)
fmt.Printf("chezmoi: %v\n", err)
os.Exit(1)
}

Expand Down

0 comments on commit f6ae4f3

Please sign in to comment.