Skip to content

Commit 386aec3

Browse files
committed
More tweaks
1 parent 70e17a2 commit 386aec3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

R/utils-git.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,11 @@ challenge_uncommitted_changes <- function(
211211
if (choice == 1) {
212212
return(invisible())
213213
} else {
214-
ui_abort("Uncommitted changes. Please commit before continuing.", call = NULL)
214+
ui_abort(
215+
"Uncommitted changes. Please commit before continuing.",
216+
call = caller_env()
217+
)
218+
return(invisible())
215219
}
216220
}
217221
}

0 commit comments

Comments
 (0)