(filePath: string, destFilePath: string, manipulationCallback: any = null)
| 56 | } |
| 57 | |
| 58 | copyFile(filePath: string, destFilePath: string, manipulationCallback: any = null): FileSystem { |
| 59 | let content = this.readFile(filePath) |
| 60 | |
| 61 | if(manipulationCallback) content = manipulationCallback(content) |
| 62 | |
| 63 | this.writeFile(destFilePath, content) |
| 64 | |
| 65 | return this |
| 66 | } |
| 67 | |
| 68 | writeProjectFile(projectPath: string, filePath: string, content: string, log = true): FileSystem { |
| 69 | const projectFilePath = path.join(projectPath, filePath), |
no test coverage detected