(child)
| 23 | let ignoreComponents = ['README.md']; // complicated |
| 24 | |
| 25 | function promiseFromChildProcess(child) { |
| 26 | return new Promise(function (resolve, reject) { |
| 27 | child.addListener('error', reject); |
| 28 | child.addListener('exit', resolve); |
| 29 | }); |
| 30 | } |
| 31 | |
| 32 | function getFilesizeInBytes(filename) { |
| 33 | const stats = fs.statSync(filename); |