(arr)
| 47 | ].filter(Boolean) |
| 48 | |
| 49 | const or = (arr) => arr.length <= 2 |
| 50 | ? arr.join(' or ') : |
| 51 | arr.map((v, i, l) => i + 1 === l.length ? `or ${v}` : v).join(', ') |
| 52 | |
| 53 | const fix = `Fix the upstream dependency conflict, or retry this command with ${or(flags)} to accept an incorrect (and potentially broken) dependency resolution.` |
| 54 |