build: use make for building the project (#1304)

This commit is contained in:
Oleg Lobanov
2021-03-04 00:10:08 +01:00
committed by GitHub
parent 2d2c598fa6
commit 23f84642e6
23 changed files with 218 additions and 194 deletions

View File

@@ -72,7 +72,7 @@ func dbExists(path string) (bool, error) {
d := filepath.Dir(path)
_, err = os.Stat(d)
if os.IsNotExist(err) {
if err := os.MkdirAll(d, 0700); err != nil { //nolint:shadow
if err := os.MkdirAll(d, 0700); err != nil { //nolint:govet
return false, err
}
return false, nil