Skip to content

Commit

Permalink
Merge branch 'release-0.10.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodangelis committed Apr 13, 2023
2 parents 16c7b25 + 31df57b commit b63fee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func New(app application.App) Config {

_, err = os.Stat(v.ConfigFileUsed())
if os.IsNotExist(err) {
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 {
panic(err)
}
file, err := os.Create(v.ConfigFileUsed())
Expand Down

1 comment on commit b63fee5

@makoog120
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

Please sign in to comment.