fix: 避免重复reload
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s

This commit is contained in:
手瓜一十雪 committed 2025-02-04 18:14:13 +08:00
1 parent 89b9610016
commit 425c3c6432
1 file changed
-1
-1
View File
@@ -34,7 +34,6 @@ export abstract class ConfigBase<T> {
if (fs.existsSync(defaultConfigPath)) {
this.configData = this.loadConfig(defaultConfigPath);
}
this.validate(this.configData);
this.save();
return this.configData;
}