Move formatting to gofumpt (from gofmt)
This commit is contained in:
1 parent
d8092fc9d5
commit
e4923b500a
3 files changed
+7
-4
No files matched your search
@@ -110,7 +110,7 @@ func FindDirectories(dbPath string) (*AppPaths, error) {
|
||||
|
||||
// CreateDirectories ensures all application managed directories are created
|
||||
func CreateDirectories(paths *AppPaths) error {
|
||||
err := os.MkdirAll(filepath.Dir(paths.DatabaseFile), 0750)
|
||||
err := os.MkdirAll(filepath.Dir(paths.DatabaseFile), 0o750)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user