(text, fallback)
| 172 | } |
| 173 | |
| 174 | function firstMeaningfulLine(text, fallback) { |
| 175 | const line = String(text ?? "") |
| 176 | .split(/\r?\n/) |
| 177 | .map((value) => value.trim()) |
| 178 | .find(Boolean); |
| 179 | return line ?? fallback; |
| 180 | } |
| 181 | |
| 182 | async function buildSetupReport(cwd, actionsTaken = []) { |
| 183 | const workspaceRoot = resolveWorkspaceRoot(cwd); |
no outgoing calls
no test coverage detected