Skip to content

Commit bfa081f

Browse files
committed
Use fs function
1 parent c5a9e03 commit bfa081f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/build-llm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ convert_md <- function(src_path, dst_path, url = NULL) {
6767

6868
path <- file_temp()
6969
xml2::write_html(html, path, format = FALSE)
70-
on.exit(unlink(path), add = TRUE)
70+
on.exit(file_delete(path), add = TRUE)
7171

7272
rmarkdown::pandoc_convert(
7373
input = path,

0 commit comments

Comments
 (0)