BUG: Security-Policy throws internal error if --local .
passed
#1752
Labels
kind/bug
Something isn't working
--local .
passed
#1752
Describe the bug
$ scorecard --local .
throwsinput repo should be of type repoURL
error.Reproduction steps
Steps to reproduce the behavior:
$ git clone github.com/chainguard-dev/apko
$ scorecard --local .
internal error: input repo should be of type repoURL: <nil>
Expected behavior
We should not print out
Security-Policy
section in case we don't pass--repo
flag?Additional context
Version:
4.1.0
The text was updated successfully, but these errors were encountered: