Merge pull request #483 from devchat-ai/fix_ideconfig_miss
feat: Ensure IDE Configuration File Existence Before Initialization
This commit is contained in:
commit
e30cec3a04
@ -38,7 +38,7 @@ export class CodeLensManager {
|
||||
}
|
||||
|
||||
private loadConfig(): void {
|
||||
if (fs.existsSync(this.configFilePath)) {
|
||||
if (!fs.existsSync(this.configFilePath)) {
|
||||
this.initializeConfig();
|
||||
} else {
|
||||
const data = fs.readFileSync(this.configFilePath, "utf-8");
|
||||
|
Loading…
x
Reference in New Issue
Block a user