()
| 128 | } |
| 129 | |
| 130 | function readLocalPluginNames() { |
| 131 | if (!fs.existsSync(PLUGINS_DIR)) { |
| 132 | return []; |
| 133 | } |
| 134 | |
| 135 | return fs.readdirSync(PLUGINS_DIR, { withFileTypes: true }) |
| 136 | .filter((entry) => entry.isDirectory()) |
| 137 | .map((entry) => entry.name); |
| 138 | } |
| 139 | |
| 140 | function toSubmissionError(message) { |
| 141 | return message.replace(/^external\.json\[0\]:\s*/, "submission: "); |
no outgoing calls
no test coverage detected