()
| 23 | last; |
| 24 | |
| 25 | const resetTracking = () => { |
| 26 | const base = { |
| 27 | done: 0, |
| 28 | total: 0, |
| 29 | fail: 0 |
| 30 | }; |
| 31 | |
| 32 | downloading = Object.assign({}, base); |
| 33 | installing = Object.assign({}, base); |
| 34 | }; |
| 35 | |
| 36 | const req = url => new Promise(res => get(url, r => { // Minimal wrapper around https.get to include body |
| 37 | let dat = ''; |
no outgoing calls
no test coverage detected