We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5af0369 commit 3a25145Copy full SHA for 3a25145
commands/case.go
@@ -94,7 +94,8 @@ func CustomCaseAction(context *cli.Context) error {
94
return err
95
}
96
97
- metaData, err := config.LoadMetaFromPath(path.Join(cwd, configuration.ConfigFileName))
+ configFileName := configuration.ConfigFileName
98
+ metaData, err := config.LoadMetaFromPath(path.Join(cwd, configFileName))
99
if err != nil {
100
color.Red("Failed to load egor MetaData ")
101
@@ -121,7 +122,7 @@ func CustomCaseAction(context *cli.Context) error {
121
122
123
124
- metaData.SaveToFile(path.Join(cwd, "egor-meta.json"))
125
+ metaData.SaveToFile(path.Join(cwd, configFileName))
126
127
128
color.Red("Failed to save to MetaData")
0 commit comments