Skip to content

Commit

Permalink
fix: orphan render singular (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Phillips <[email protected]>
  • Loading branch information
spiffcs authored Dec 12, 2023
1 parent c7c97bf commit bd5a5ad
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .grant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,21 @@ rules:
reason: "GPL licenses are not allowed per xxx-xx company policy"
exclusions:
- "alpine-base-layout" # We don't link against this package so we don't care about its license
- pattern: "*BSD*"
name: "bsd-denied"
mode: "deny"
reason: "BSD licenses are not allowed per xxx-xx company policy"
exclusions:
- "1apt"
- "1bsdutils"
- "1dash"
- "1e2fsprogs"
- "1findutils"
- "1gpgv"
- "1init-system-helpers"
- "1libapt-pkg6.0"
- "1libblkid1"
- "1libcap2"
- "1libcom-err2"
- "1libdb5.3"

3 changes: 2 additions & 1 deletion cmd/grant/cli/internal/check/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ func (r *Report) renderList(out io.Writer) error {
}
resulList.UnIndent()
resulList.UnIndent()
renderOrphanPackages(resulList, res, true)
}

}
renderOrphanPackages(resulList, res, true)
}

// segment the results into lists by user input
Expand Down

0 comments on commit bd5a5ad

Please sign in to comment.