Skip to content

Commit

Permalink
Tickle git pane with pr_finish()
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jun 27, 2024
1 parent 1398d7b commit 28b3247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/pr.R
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ pr_forget <- function() pr_clean(mode = "forget")
pr_clean <- function(number = NULL,
target = c("source", "primary"),
mode = c("finish", "forget")) {
withr::defer(rstudio_git_tickle())

Check warning on line 535 in R/pr.R

View check run for this annotation

Codecov / codecov/patch

R/pr.R#L535

Added line #L535 was not covered by tests
mode <- match.arg(mode)
repo <- git_repo()
tr <- target_repo(github_get = NA, role = target, ask = FALSE)
Expand Down

0 comments on commit 28b3247

Please sign in to comment.