(projectPath: string, filePath: string, content: string, log = true)
| 66 | } |
| 67 | |
| 68 | writeProjectFile(projectPath: string, filePath: string, content: string, log = true): FileSystem { |
| 69 | const projectFilePath = path.join(projectPath, filePath), |
| 70 | previousFileBasePath = BackgroundInternalFiles.getPreviousGeneratedFileBasePath(filePath), |
| 71 | previousGeneratedFilePath = path.join(projectPath, previousFileBasePath) |
| 72 | |
| 73 | this.writeFile(projectFilePath, content) |
| 74 | this.writeFile(previousGeneratedFilePath, content) |
| 75 | |
| 76 | return this |
| 77 | } |
| 78 | |
| 79 | writeConflictsFile(filePath: string, conflicts: any): FileSystem { |
| 80 | return this.writeJsonFile(filePath, { conflicts }) |
no test coverage detected