Skip to content

Commit 4b9925e

Browse files
don't visibly return rstudioapi::documentSave()
1 parent fc4e6e5 commit 4b9925e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/addins.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ style_selection <- function() {
7777
id = context$id
7878
)
7979
if (Sys.getenv("save_after_styling") == TRUE && context$path != "") {
80-
rstudioapi::documentSave(context$id)
80+
invisible(rstudioapi::documentSave(context$id))
8181
}
8282
}
8383

0 commit comments

Comments
 (0)