Sfoglia il codice sorgente

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

ayn2op 3 anni fa
parent
commit
e26a4626c5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      internal/config/config.go

+ 1 - 1
internal/config/config.go

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