Skip to content

Commit

Permalink
unlink temp dir and reset options
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Oct 20, 2022
1 parent 2303fdb commit ea8e611
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/testing.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ prepare_git_example_from_source <- function(source_path, path) {
generate_source_db(temp)
run_orderly_demo(temp)
build_git_demo(temp)
prepare_orderly_git_example(path, run_report = FALSE)
res <- prepare_orderly_git_example(path, run_report = FALSE)
options(orderly.server.demo = NULL)
unlink(temp, recursive = TRUE)
res
}


Expand Down

0 comments on commit ea8e611

Please sign in to comment.