Skip to content

Commit

Permalink
fixed a typo in an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
collinschwantes committed May 23, 2023
1 parent 2d1d52d commit 187b3bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils-aws-upload.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ aws_s3_upload <- function(path, bucket, key = basename(path), prefix = "",
# if neither the file nor the directory exist, break or warn
if (!file_check & !dir_check) {
if (error) {
err_msg <- glue::glue("Neither File nor Directory not found. Argument supplied
err_msg <- glue::glue("Neither File nor Directory found. Argument supplied
to path does not appear to exist. {path}")
stop(err_msg)
} else {
msg <- glue::glue("Neither File nor Directory not found. Argument supplied
msg <- glue::glue("Neither File nor Directory found. Argument supplied
to path does not appear to exist. {path}
Returning an empty list.")
Expand Down

0 comments on commit 187b3bd

Please sign in to comment.