mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-28 20:31:26 +08:00
fix: 避免重复reload
This commit is contained in:
parent
89b9610016
commit
425c3c6432
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user