()
| 92 | }) |
| 93 | export class AppModule implements OnModuleInit, NestModule { |
| 94 | onModuleInit() { |
| 95 | // creating required folders |
| 96 | const foldersToCreate = [ |
| 97 | PATH_CONFIG.pluginsAssets, |
| 98 | PATH_CONFIG.customPlugins, |
| 99 | ]; |
| 100 | |
| 101 | foldersToCreate.forEach((folder) => { |
| 102 | if (!fs.existsSync(folder)) { |
| 103 | fs.mkdirSync(folder, { recursive: true }); |
| 104 | } |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | configure(consumer: MiddlewareConsumer) { |
| 109 | consumer |
nothing calls this directly
no outgoing calls
no test coverage detected