Explorar o código

Return nil instead of error (always stat error if first startup [config file does not exist])

ayn2op %!s(int64=3) %!d(string=hai) anos
pai
achega
e26a4626c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/config/config.go

+ 1 - 1
internal/config/config.go

@@ -76,5 +76,5 @@ func Load() error {
 		}
 	}
 
-	return err
+	return nil
 }