Some linter cleanup

This commit is contained in:
Gabe Kangas
2021-06-29 10:21:00 -07:00
parent ab3bbd59bf
commit 12104978e8
10 changed files with 19 additions and 19 deletions

View File

@@ -18,7 +18,6 @@ import (
)
func main() {
// Enable bundling of admin assets
_ = pkger.Include("/admin")
@@ -48,7 +47,9 @@ func main() {
// Create the data directory if needed
if !utils.DoesFileExists("data") {
os.Mkdir("./data", 0700)
if err := os.Mkdir("./data", 0700); err != nil {
log.Fatalln("Cannot create data directory", err)
}
}
// Allows a user to restore a specific database backup