Skip to content

Commit

Permalink
fix: 避免重复reload
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Feb 4, 2025
1 parent 89b9610 commit 425c3c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/config-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 425c3c6

Please sign in to comment.