notaryproject / notation

A CLI tool to sign and verify artifacts
https://notaryproject.dev/
Apache License 2.0
302 stars 84 forks source link

fix: error message for trust policy #933

Closed JeyJeyGao closed 1 month ago

JeyJeyGao commented 2 months ago

This error message improvement is based on the Notation CLI error message improvement guideline that we defined in #834

Resolve part of #934 Signed-off-by: Junjie Gao junjiegao@microsoft.com

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 88.88889% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 71.34%. Comparing base (fd3f69f) to head (967a0cf).

Files Patch % Lines
cmd/notation/policy/show.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #933 +/- ## ========================================== + Coverage 71.27% 71.34% +0.06% ========================================== Files 45 45 Lines 2169 2174 +5 ========================================== + Hits 1546 1551 +5 Misses 429 429 Partials 194 194 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.