From 386aec3ad1e6484063b5196e85a896537351c4ad Mon Sep 17 00:00:00 2001 From: olivroy Date: Sun, 9 Jun 2024 13:47:47 -0400 Subject: [PATCH] More tweaks --- R/utils-git.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/R/utils-git.R b/R/utils-git.R index 4fdd315b7..1fc0e49ff 100644 --- a/R/utils-git.R +++ b/R/utils-git.R @@ -211,7 +211,11 @@ challenge_uncommitted_changes <- function( if (choice == 1) { return(invisible()) } else { - ui_abort("Uncommitted changes. Please commit before continuing.", call = NULL) + ui_abort( + "Uncommitted changes. Please commit before continuing.", + call = caller_env() + ) + return(invisible()) } } }