Skip to content

Commit 282d1cd

Browse files
MichaelChiricommaechler
authored andcommitted
don't re-read commandArgs
1 parent 43b7d71 commit 282d1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/ess-r-flymake.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ each element is passed as argument to `lintr::linters_with_defaults'."
8787
} else if (packageVersion('lintr') <= '3.0.0') {
8888
cat('@@error: @@Need `lintr` version > v3.0.0')
8989
} else {
90-
tryCatch(lintr::lint(text=commandArgs(TRUE), ..., parse_settings=TRUE),
90+
tryCatch(lintr::lint(text=str, ..., parse_settings=TRUE),
9191
error = function(e) {
9292
cat('@@warning: @@', conditionMessage(e))
9393
})

0 commit comments

Comments
 (0)