(fromPath: string, toPath: string)
| 206 | } |
| 207 | |
| 208 | export function doCopyFile(fromPath: string, toPath: string): Promise<void> { |
| 209 | return new Promise((resolve, reject) => { |
| 210 | copyFile(fromPath, toPath, (copyErr: any) => { |
| 211 | if (copyErr) { |
| 212 | reject(copyErr); |
| 213 | } else { |
| 214 | resolve(); |
| 215 | } |
| 216 | }); |
| 217 | }); |
| 218 | } |
| 219 | |
| 220 | async function writeNdjson(inputFilePath: string, filename: string): Promise<string> { |
| 221 | try { |
no outgoing calls
no test coverage detected