Skip to content

Commit

Permalink
Update spell-check.R
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Shapiro <[email protected]>
  • Loading branch information
sjspielman and jashapiro authored Apr 24, 2024
1 parent 8e55fa1 commit 08f359a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spell-check.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ arguments <- arguments[-1]
if (length(arguments) > 0 && arguments[1] != "") {
files_glob <- strsplit(arguments, " ") |>
unlist() |>
Sys.glob()
Sys.glob() |>
unique()
files <- grep(file_pattern, files_glob, value = TRUE)
} else {
files <- list.files(pattern = file_pattern, recursive = TRUE, full.names = TRUE)
Expand Down

0 comments on commit 08f359a

Please sign in to comment.