Skip to content

Commit e2728b6

Browse files
author
R0n0066
committed
fix (main): Fix path to default configuration
1 parent 407cd83 commit e2728b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func initConfig() {
8484
err := loadLocalConfigFile("default")
8585
checkErr(err)
8686

87-
projectDir, err := os.Getwd()
87+
projectDir, err := os.Executable()
8888
checkErr(err)
8989
projectConfigFile := projectDir + "/.cmf.yaml"
9090

0 commit comments

Comments
 (0)