mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 15:11:15 +00:00
fix: 避免重复reload
This commit is contained in:
parent
0d5d3c16c0
commit
c30495cb0b
@ -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