Skip to content

Commit

Permalink
get_result_path: add extensions for externally scored packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Aug 5, 2024
1 parent 27395bd commit 9e6ff43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions R/util.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ check_exists_and_overwrite <- function(path, overwrite) {
get_result_path <- function(
out_dir,
ext = c(
"scorecard.json", "scorecard.pdf", "check.rds", "covr.rds", "comments.txt",
"summary.pdf", "export_doc.rds", "mitigation.txt"
"scorecard.json", "scorecard.pdf", "comments.txt", "mitigation.txt",
# Internally scored
"check.rds", "covr.rds", "export_doc.rds", "summary.pdf",
# Externally scored
"check.txt", "coverage.json", "matrix.yaml", "metadata.json", "pkg.json",
"scores.json"
)
){

Expand Down
5 changes: 3 additions & 2 deletions man/get_result_path.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e6ff43

Please sign in to comment.