(path)
| 30 | } |
| 31 | |
| 32 | const ignoredPublishFile = (path) => { |
| 33 | const parts = path.split("/") |
| 34 | const name = parts.at(-1) ?? path |
| 35 | |
| 36 | return parts.includes(".publish") |
| 37 | || name.endsWith(".bak") |
| 38 | || name.endsWith(".backup") |
| 39 | || name.endsWith(".orig") |
| 40 | || name.endsWith(".tmp") |
| 41 | || name.endsWith(".tgz") |
| 42 | } |
| 43 | |
| 44 | const copyPackedTarballs = (dir) => { |
| 45 | if (!_fs.existsSync(dir)) return |
no test coverage detected
searching dependent graphs…