(entry: string)
| 34 | } |
| 35 | |
| 36 | function cleanupSystemEntry(entry: string): string { |
| 37 | return entry |
| 38 | .split("\n") |
| 39 | .map((line) => line.replace(/[ \t]+$/g, "")) |
| 40 | .join("\n") |
| 41 | .replace(/\n{3,}/g, "\n\n") |
| 42 | .trim(); |
| 43 | } |
| 44 | |
| 45 | export function stripConflictingPlanModeRules(systemEntries: string[]): string[] { |
| 46 | return systemEntries |
no test coverage detected