Skip to content

Commit

Permalink
refactor: apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenuial committed Sep 19, 2024
1 parent 037e9e3 commit e4275cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ render_quarto_lang <- function(language_code, path, output_dir, type) {
)
freeze_ls <- fs::dir_ls(freeze_path, recurse = TRUE)

freeze_lang <- freeze_ls[grep(paste0("\\.", language_code, "$"), freeze_ls)]
freeze_lang <- purrr::keep(freeze_ls, \(x) grep(paste0("\\.", language_code, "$"), x))

Check warning on line 212 in R/render.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/render.R,line=212,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 90 characters.
freeze_dirs <- fs::path_rel(freeze_lang, start = freeze_path)
freeze_dirs <- gsub(
paste0(".", language_code), "",
Expand Down

0 comments on commit e4275cf

Please sign in to comment.