(dir: string)
| 63 | } |
| 64 | |
| 65 | async function isPluginDirectory(dir: string) { |
| 66 | try { |
| 67 | return await isDirectory(dir); |
| 68 | } catch (err) { |
| 69 | log('generalDebug_0003', `Could not load the plugin at "${dir}": ${err}`); |
| 70 | return false; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | function isPlugin(name: string) { |
| 75 | const prefix = 'piral-cli-'; |
no test coverage detected