(pluginPath: string)
| 113 | } |
| 114 | |
| 115 | async function requireOrImport(pluginPath: string): Promise<any> { |
| 116 | try { |
| 117 | // eslint-disable-next-line @typescript-eslint/no-require-imports |
| 118 | return require(pluginPath); |
| 119 | } catch { |
| 120 | return import(pluginPath); |
| 121 | } |
| 122 | } |
no test coverage detected
searching dependent graphs…