(systemEntries: string[])
| 43 | } |
| 44 | |
| 45 | export function stripConflictingPlanModeRules(systemEntries: string[]): string[] { |
| 46 | return systemEntries |
| 47 | .map((entry) => |
| 48 | cleanupSystemEntry( |
| 49 | entry |
| 50 | .split("\n") |
| 51 | .filter((line) => !shouldStripPlanModeLine(line)) |
| 52 | .join("\n"), |
| 53 | ), |
| 54 | ) |
| 55 | .filter(Boolean); |
| 56 | } |
no test coverage detected