Skip to content

Commit

Permalink
Use the pipe operator
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Apr 4, 2024
1 parent 0993215 commit 08bc0ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions R/find_string_constants.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
#' @export
find_string_constants <- function(root = "./R")
{
kwb.file::add_file_info(get_string_constants_in_scripts(
root = root, FUN = fetch_string_constants_2
))
get_string_constants_in_scripts(
root = root,
FUN = fetch_string_constants_2
) %>%
kwb.file::add_file_info()
}

0 comments on commit 08bc0ea

Please sign in to comment.