We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c7b25 commit 31df57bCopy full SHA for 31df57b
1 file changed
config/config.go
@@ -38,7 +38,7 @@ func New(app application.App) Config {
38
39
_, err = os.Stat(v.ConfigFileUsed())
40
if os.IsNotExist(err) {
41
- if err := os.MkdirAll(filepath.Dir(v.ConfigFileUsed()), os.ModeDir); err != nil {
+ if err := os.MkdirAll(filepath.Dir(v.ConfigFileUsed()), os.ModeDir|os.ModePerm); err != nil {
42
panic(err)
43
}
44
file, err := os.Create(v.ConfigFileUsed())
0 commit comments