({ path: filePath, src }: { path: string; src: string })
| 201 | } |
| 202 | |
| 203 | withCopiedFile({ path: filePath, src }: { path: string; src: string }) { |
| 204 | const dest = path.join(this.directory, filePath) |
| 205 | this.tasks.push(async () => { |
| 206 | await ensureDir(path.dirname(dest)) |
| 207 | await copyFile(src, dest) |
| 208 | }) |
| 209 | |
| 210 | return this |
| 211 | } |
| 212 | |
| 213 | withContentFiles(files: { content: string; path: string }[]) { |
| 214 | files.forEach((file) => { |
no test coverage detected