Skip to content

Commit

Permalink
don't visibly return rstudioapi::documentSave()
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed May 3, 2019
1 parent efabfd4 commit a246b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/addins.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ style_selection <- function() {
id = context$id
)
if (Sys.getenv("save_after_styling") == TRUE && context$path != "") {
rstudioapi::documentSave(context$id)
invisible(rstudioapi::documentSave(context$id))
}
}

Expand Down

0 comments on commit a246b1e

Please sign in to comment.