Skip to content

Commit be8e92f

Browse files
committed
Fix lintr complain
1 parent 449b1f0 commit be8e92f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

R/session/vsc.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ inspect_env <- function(env, cache) {
197197
.DollarNames(obj, pattern = "")
198198
} else if (is.recursive(obj)) {
199199
names(obj)
200-
} else NULL
200+
} else {
201+
NULL
202+
}
201203

202204
if (length(obj_names)) {
203205
info$names <- obj_names

0 commit comments

Comments
 (0)