Skip to content

Commit

Permalink
fix: wrong variable in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hypebright committed May 29, 2024
1 parent db63e28 commit 3d15d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/jstools.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ build_js <- function(dir = "srcjs", mode = c("prod", "dev"), entry_points = "mai
# check if entry_points exists
if (any(!file.exists(entry_points))) {
missing_entry_points <- entry_points[!file.exists(entry_points)]
ui_stop("The following entry points don't exist: {paste0(entry_points, collapse = ', ')}")
ui_stop("The following entry points don't exist: {paste0(missing_entry_points, collapse = ', ')}")
}

# run esbuild
Expand Down

0 comments on commit 3d15d37

Please sign in to comment.