Skip to content

Commit

Permalink
Fix lint (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher authored Jul 22, 2024
1 parent 0a6f344 commit c012ad8
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 c012ad8

Please sign in to comment.