Skip to content

Commit

Permalink
bug fix toastr warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Jan 5, 2024
1 parent 417e83f commit 4b1cfbf
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 @@ -27,7 +27,7 @@ read_gh_file <- function(ghrepo) {
)
urls <- unlist(strsplit(urlfield, ","))
cont_url <- grepl("ghcr|docker", urls)
if (any(cont_url))
if (!any(cont_url))
shinytoastr::toastr_warning(
"No container 'URL' found in the DESCRIPTION file"
)
Expand Down

0 comments on commit 4b1cfbf

Please sign in to comment.