(content: Buffer | string)
| 95 | |
| 96 | export function insertLine(position: 'before' | 'after', search: LineMatcher, content: string | Buffer): FileUpdater { |
| 97 | const match = (content: Buffer | string): boolean => search(content.toString()); |
| 98 | return contents => { |
| 99 | let found = false; |
| 100 | let buffer = Buffer.from([]); |
no test coverage detected