Skip to content

Commit 36d8ec1

Browse files
author
Rodrigo Navarro
committed
no-story (fix): Fix error handler when use cmf without cmf file or wrong cmf file
1 parent f1a54f2 commit 36d8ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/template/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type keyValue struct {
2222

2323
func checkErr(err error) {
2424
if err != nil {
25-
fmt.Print(color.Red(err))
25+
fmt.Print(color.Red("An error occurred, maybe 'cmf init' could fix it"))
2626
os.Exit(0)
2727
}
2828
}

0 commit comments

Comments
 (0)