We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39dbcdc commit 93e1e19Copy full SHA for 93e1e19
main_test.go
@@ -20,7 +20,7 @@ func Test_Main(t *testing.T) {
20
_, err := os.Lstat(fmt.Sprintf("%s/%s", AppCnf.Path, file))
21
if err != nil {
22
if errors.Is(err, os.ErrNotExist) {
23
- err = os.MkdirAll(AppCnf.Path, os.ModePerm)
+ err = createOrUpdateDirs()
24
25
t.Errorf("can't create directory %s", err.Error())
26
}
0 commit comments