()
| 65 | } |
| 66 | |
| 67 | function readLocalPluginNames() { |
| 68 | const pluginsDir = path.join(ROOT_FOLDER, "plugins"); |
| 69 | if (!fs.existsSync(pluginsDir)) { |
| 70 | return []; |
| 71 | } |
| 72 | |
| 73 | return fs.readdirSync(pluginsDir, { withFileTypes: true }) |
| 74 | .filter((entry) => entry.isDirectory()) |
| 75 | .map((entry) => entry.name); |
| 76 | } |
| 77 | |
| 78 | function pluginsMatch(left, right) { |
| 79 | const leftName = normalizeValue(left?.name); |
no outgoing calls
no test coverage detected