Skip to content

Commit fb31d0a

Browse files
committed
get rid of the code for compatibility with an unreleased version of bookdown
1 parent f9cf1ac commit fb31d0a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

R/render.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ render_book = function(
8181
)
8282

8383
aux_diro = '_bookdown_files'
84-
# for compatibility with bookdown <= 0.0.64
85-
if (isTRUE(dir_exists(aux_dir2 <- file.path(output_dir, aux_diro)))) {
86-
if (!dir_exists(aux_diro)) file.rename(aux_dir2, aux_diro)
87-
}
8884
# move _files and _cache from _bookdown_files to ./, then from ./ to _bookdown_files
8985
aux_dirs = files_cache_dirs(aux_diro)
9086
move_dirs(aux_dirs, basename(aux_dirs))

0 commit comments

Comments
 (0)