Skip to content

Commit

Permalink
linter detected - prefer <- and %>% over %<>%
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 16, 2024
1 parent b5f0226 commit 474b888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ui_fetch_secret.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ui_fetch_secret <- function(user = NULL, password = NULL, engine = NULL) {
Filter(function(x) length(x$host) > 0, new_secrets) %>%
bind_rows()
if (!is.null(engine)) {
new_secrets_df %<>% filter(engine == !!engine)
new_secrets_df <- filter(new_secrets_df, engine == !!engine)
}
if (NROW(new_secrets_df) == 0) {
stop("No secrets found", call. = FALSE)
Expand Down

0 comments on commit 474b888

Please sign in to comment.