Skip to content

Commit

Permalink
fix problem in six bucket delete #64
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Apr 4, 2024
1 parent f606486 commit 058af4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bucket.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ six_bucket_delete <- function(bucket, force = FALSE, ...) {

# check for empty folders & delete thoes too
empties <- list_obs(bucket)
if (!rlang::is_empty(empties)) {
if (!rlang::is_empty(empties$result)) {
purrr::map(empties$result$uri, \(x) aws_file_delete(x))
}
}
Expand Down

0 comments on commit 058af4c

Please sign in to comment.