(filePath: string, text: string, options?: any)
| 65 | } |
| 66 | |
| 67 | export function appendToFile(filePath: string, text: string, options?: any) { |
| 68 | return readFile(filePath).then((content: string) => |
| 69 | writeFile(filePath, content.concat(text), options), |
| 70 | ); |
| 71 | } |
| 72 | |
| 73 | export function prependToFile(filePath: string, text: string, options?: any) { |
| 74 | return readFile(filePath).then((content: string) => |
no test coverage detected