fix: log config

This commit is contained in:
linyuchen
2024-04-27 12:20:17 +08:00
parent 033a7bffb3
commit 6f2be3ed30
5 changed files with 20 additions and 18 deletions

View File

@@ -11,6 +11,11 @@ export class ConfigBase<T>{
constructor() {
}
getConfigDir(){
const configDir = path.resolve(__dirname, 'config');
fs.mkdirSync(configDir, { recursive: true });
return configDir;
}
getConfigPath(): string {
throw new Error('Method not implemented.');
}