Skip to content

Commit 93e1e19

Browse files
committed
fix test
1 parent 39dbcdc commit 93e1e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func Test_Main(t *testing.T) {
2020
_, err := os.Lstat(fmt.Sprintf("%s/%s", AppCnf.Path, file))
2121
if err != nil {
2222
if errors.Is(err, os.ErrNotExist) {
23-
err = os.MkdirAll(AppCnf.Path, os.ModePerm)
23+
err = createOrUpdateDirs()
2424
if err != nil {
2525
t.Errorf("can't create directory %s", err.Error())
2626
}

0 commit comments

Comments
 (0)