Skip to content

Commit

Permalink
details in articles libs fun
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkunst committed Jan 28, 2019
1 parent 32c4ed2 commit 6b903c8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dev/pkgdown-reduce-articles-libs.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ map2(

write_lines(x = new_lines, path = f)

f %>%
str_remove(".html") %>%
str_c("_files/") %>%
fs::dir_delete() %>%
try()
try(
f %>%
str_remove(".html") %>%
str_c("_files/") %>%
fs::dir_delete()
)

}
)
Expand Down

0 comments on commit 6b903c8

Please sign in to comment.