commit | ffd7f02f75eec34f060dd93803b7441668ef7e1f | [log] [tgz] |
---|---|---|
author | Armando Montanez <amontanez@google.com> | Tue Apr 16 17:32:15 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 16 17:32:15 2024 +0000 |
tree | 851c90d726a32729508aa8ed8de3189f18c0cc04 | |
parent | 6913460a9bd1bd66b653a02759dcd8a334807fca [diff] |
pw_cli: Fix commit fallback handling for GitRepo.list_files() The wrong error type was being caught in the handling of fallback logic for GitRepo.list_files(). This ensures the correct error is caught, and adds a test to verify. Change-Id: I3710589f25905a551ff6d0e411f63f8705314958 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/203790 Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Taylor Cramer <cramertj@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.