Skip to content

Commit 41a2f0b

Browse files
authored
Update directory.R (#1973)
1 parent 9e64daf commit 41a2f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/directory.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ directory_has_files <- function(x) {
5858

5959
check_directory_is_empty <- function(x) {
6060
if (directory_has_files(x)) {
61-
ui_abort("{.path {pth(path)}} exists and is not an empty directory.")
61+
ui_abort("{.path {pth(x)}} exists and is not an empty directory.")
6262
}
6363
invisible(x)
6464
}

0 commit comments

Comments
 (0)