()
| 174 | } |
| 175 | |
| 176 | async function tar() { |
| 177 | let fileName = `${addonName}-0.0.0.tgz`; |
| 178 | |
| 179 | if (fs.existsSync(fileName) === false) { |
| 180 | throw new Error(`unknown file: '${path.resolve(fileName)}'`); |
| 181 | } |
| 182 | |
| 183 | return execa('tar', ['-tf', fileName]); |
| 184 | } |
no outgoing calls
no test coverage detected