Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Security-Policy throws internal error if --local . passed #1752

Closed
Dentrax opened this issue Mar 18, 2022 · 2 comments · Fixed by #1822
Closed

BUG: Security-Policy throws internal error if --local . passed #1752

Dentrax opened this issue Mar 18, 2022 · 2 comments · Fixed by #1822
Assignees
Labels
kind/bug Something isn't working

Comments

@Dentrax
Copy link
Contributor

Dentrax commented Mar 18, 2022

Describe the bug
$ scorecard --local . throws input repo should be of type repoURL error.

Reproduction steps
Steps to reproduce the behavior:

  1. $ git clone github.com/chainguard-dev/apko
  2. $ scorecard --local .
  3. See: 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

@Dentrax Dentrax added the kind/bug Something isn't working label Mar 18, 2022
@laurentsimon
Copy link
Contributor

cc @naveensrinivasan

@naveensrinivasan naveensrinivasan self-assigned this Mar 19, 2022
@naveensrinivasan
Copy link
Member

Thanks, @Dentrax!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants