Skip to content

Commit

Permalink
minor typo from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyMarkowitz-NOAA committed Jun 13, 2024
1 parent 875eab9 commit 1e51c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ make_figure <- function(
for (iii in 1:length(filename1)) {
drive_upload(
media = filename1[iii],
path = googledrive::as_id(ifelse(grep(pattern = "current", x = filename1[iii]),
path = googledrive::as_id(ifelse(grepl(pattern = "current", x = filename1[iii]),
dir_googledrive_upload, # if a current file, put in the main folder
dir_googledrive_upload_archive)), # if the day-stamp file, put directly in the archive folder for safe keeping
overwrite = TRUE)
Expand Down

0 comments on commit 1e51c30

Please sign in to comment.