Skip to content

Commit 21f11d9

Browse files
authored
Update name of command for rstudioapi::restartSession() (#891)
1 parent 7397282 commit 21f11d9

File tree

1 file changed

+3
-1
lines changed
  • crates/ark/src/modules/rstudio

1 file changed

+3
-1
lines changed

crates/ark/src/modules/rstudio/stubs.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
# TODO: support followup `command` argument
4242
stopifnot(command == "")
4343

44-
invisible(.ps.ui.executeCommand('workbench.action.languageRuntime.restart'))
44+
invisible(.ps.ui.executeCommand(
45+
'workbench.action.language.runtime.restartActiveSession'
46+
))
4547
}
4648

4749
#' @export

0 commit comments

Comments
 (0)