Skip to content

Commit 91dd706

Browse files
committed
correctly clean tool env
1 parent 40ae02c commit 91dd706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/rmd/execute.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ execute <- function(input, format, tempDir, libDir, dependencies, cwd, params, r
153153
}
154154
.quarto_tools_env$.rmFromQuartoToolsEnv <- function(name) {
155155
if (exists(name, envir = .quarto_tools_env)) {
156-
rm(name, envir = .quarto_tools_env)
156+
rm(list = c(name), envir = .quarto_tools_env)
157157
}
158158
}
159159

0 commit comments

Comments
 (0)