mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: 避免重复reload
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user