(dir)
| 42 | } |
| 43 | |
| 44 | const copyPackedTarballs = (dir) => { |
| 45 | if (!_fs.existsSync(dir)) return |
| 46 | |
| 47 | for (const dirent of _fs.readdirSync(dir, { withFileTypes: true })) { |
| 48 | const path = _path.join(dir, dirent.name) |
| 49 | if (dirent.isDirectory()) { |
| 50 | copyPackedTarballs(path) |
| 51 | } else if (dirent.isFile() && dirent.name.endsWith(".tgz")) { |
| 52 | copyFile(path, _path.join(cwd, dirent.name)) |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | const run = (cmd, args, options = {}) => { |
| 58 | const result = _childProcess.spawnSync(cmd, args, { |
no test coverage detected
searching dependent graphs…