Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher authored Jul 18, 2024
1 parent 938786c commit 2930f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ local_quiet_cli <- function(quiet, env = rlang::caller_env()) {
#' @return Logical scalar indicating if the command was available.
#' @noRd
cargo_command_available <- function(args = "--help") {
!any(is.na(try_exec_cmd("cargo", args)))
!anyNA(try_exec_cmd("cargo", args))
}

#' Helper function for executing commands.
Expand Down

0 comments on commit 2930f30

Please sign in to comment.