File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,14 @@ func CustomCaseAction(context *cli.Context) error {
89
89
return err
90
90
}
91
91
92
- metaData , err := config .LoadMetaFromPath (path .Join (cwd , "egor-meta.json" ))
92
+
93
+ configuration , err := config .LoadDefaultConfiguration ()
94
+ if err != nil {
95
+ color .Red ("Failed to load egor configuration" )
96
+ return err
97
+ }
98
+
99
+ metaData , err := config .LoadMetaFromPath (path .Join (cwd , configuration .ConfigFileName ))
93
100
if err != nil {
94
101
color .Red ("Failed to load egor MetaData " )
95
102
return err
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func TestAddNewCaseInput(t *testing.T) {
42
42
43
43
// create temp inputs directory
44
44
_ = os .Mkdir ("inputs" , 0777 )
45
- defer DeleteDir ("input " )
45
+ defer DeleteDir ("inputs " )
46
46
47
47
inputLines := []string {"Hello" , "World" }
48
48
caseName := "test-2"
You can’t perform that action at this time.
0 commit comments