Skip to content

Commit 2acaff2

Browse files
committed
🐛 Fix inbo_website()
1 parent 3dfdf21 commit 2acaff2

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

R/inbo_website.R

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ inbo_website <- function(path = ".") {
5151
path_rel(output_dir) -> files
5252

5353
setwd(output_dir)
54-
path(output_dir, tolower(yml$config$flandersqmd$shorttitle), ext = "zip") |>
54+
path(tolower(yml$config$flandersqmd$shorttitle), ext = "zip") |>
5555
zip(files = files, flags = "-r9XqT")
56-
# remove output except zip archive
57-
dir_ls(output_dir, type = "dir") |>
58-
dir_delete()
59-
dir_ls(output_dir, type = "file", regexp = "\\.zip", invert = TRUE) |>
60-
file_delete()
6156
return(invisible(NULL))
6257
}

0 commit comments

Comments
 (0)