(filePath, contents, cycles)
| 47 | } |
| 48 | |
| 49 | async writeFile(filePath, contents, cycles) { |
| 50 | return new Promise((resolve, reject) => { |
| 51 | try { |
| 52 | this.writeFileSync(filePath, contents, cycles) |
| 53 | } catch (e) { |
| 54 | reject(e) |
| 55 | } |
| 56 | resolve() |
| 57 | }) |
| 58 | } |
| 59 | |
| 60 | async appendFileSync(filePath, conts) { |
| 61 | const contents = conts || '' |
no test coverage detected