Browse Source

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

ayn2op 3 năm trước cách đây
mục cha
commit
e26a4626c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      internal/config/config.go

+ 1 - 1
internal/config/config.go

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