mirror of
https://github.com/apple/container.git
synced 2026-07-13 21:17:05 +00:00
137b3bdaf0
- `swift-argument-parser` enforces that `arguments` is non-empty before `run()` is invoked, so the force-unwrap of `arguments.first!` is not reachable in practice. However, the guard makes the invariant explicit in the code itself, removes reliance on ArgumentParser's implicit enforcement, and would satisfy force-unwrap lint rules if enabled in the future.