Skip to content

Commit

Permalink
Merge branch 'development' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtality committed Jul 17, 2023
2 parents 0c5ab3e + 3a28f3b commit b3c6834
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/services/config-manager-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ export class ConfigManagerV2 {
// copy from template
fs.copyFileSync(path.join(ConfigTemplatesDir, 'root.yml'), rootPath);
}

const listsPath = path.join(ConfigDir, 'lists');
if (!fs.existsSync(listsPath)) {
// copy from template
fse.copySync(path.join(ConfigTemplatesDir, 'lists'), listsPath);
}

ConfigManagerV2._instance = new ConfigManagerV2(rootPath);
}
return ConfigManagerV2._instance;
Expand Down

0 comments on commit b3c6834

Please sign in to comment.