Skip to content

Commit

Permalink
Update R/file_size.R
Browse files Browse the repository at this point in the history
Co-authored-by: James McMahon <james.mcmahon@phs.scot>
  • Loading branch information
Tina815 and Moohan authored Sep 11, 2023
1 parent 9868864 commit dc7b787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/file_size.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ file_size <- function(filepath = getwd(), pattern = NULL) {
stringr::str_detect(file_list, "\\.html$") ~ "HTML ",
stringr::str_detect(file_list, "\\.ppt(m|x)?$") ~ "PowerPoint ",
stringr::str_detect(file_list, "\\.md$") ~ "Markdown ",
TRUE ~ ""
.default = ""
)

tibble::tibble(
Expand Down

0 comments on commit dc7b787

Please sign in to comment.