We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72e58fa commit e42b3ddCopy full SHA for e42b3dd
R/api.R
@@ -136,6 +136,7 @@ api_parse <- function(api, ...) {
136
137
dots_to_plumber_files <- function(..., prefer_yml = TRUE, call = caller_env()) {
138
locations <- unlist(lapply(list2(...), function(loc) {
139
+ if (length(loc) == 0) return(NULL)
140
if (fs::is_dir(loc)) {
141
loc <- fs::dir_ls(loc, all = TRUE, recurse = TRUE)
142
server_yml <- is_plumber2_server_yml(loc)
0 commit comments