mirror of
https://github.com/googleworkspace/cli.git
synced 2026-09-14 16:47:13 +08:00
bbaaecdc88
Replaced `.unwrap()` calls for `calendar`, `summary`, `start`, and `end` arguments with proper error handling using `.ok_or_else()`. This prevents potential panics if the `clap` configuration were to change and instead returns a structured `GwsError::Validation` error. Added a changeset file for `@googleworkspace/cli` as a patch-level update. Co-authored-by: jpoehnelt <3392975+jpoehnelt@users.noreply.github.com>
156 B
156 B
@googleworkspace/cli
| @googleworkspace/cli |
|---|
| patch |
Remove unwrap() on required arguments in the calendar helper to improve error handling and prevent potential panics.