(archivePath)
| 127 | } |
| 128 | |
| 129 | function requireRegularArchive(archivePath) { |
| 130 | if (!fs.statSync(archivePath).isFile()) { |
| 131 | throw new Error('release archive is not a regular file'); |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | // Streams one member through `tar -xzOf` into a file this call creates. The |
| 136 | // file is removed only when this call created it: a pre-existing target |
no outgoing calls
no test coverage detected