Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Sep 1, 2023
1 parent 2bd1fa6 commit 92c41d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages_rs/nextclade-cli/src/cli/nextclade_dataset_get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn dataset_http_get(http: &mut HttpClient, name: impl AsRef<str>, tag: &Opti
}
}?;

if !dataset.is_cli_compatible(&this_package_version()) {
if !dataset.is_cli_compatible(this_package_version()) {
warn!(
"The requested dataset '{}' with version tag '{}' is not compatible with this version of Nextclade ({}). This may cause errors and unexpected results. Please try to upgrade your Nextclade version and/or report this to dataset authors.",
dataset.path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn nextclade_dataset_list(
if let Some(tag) = tag.as_ref() {
dataset.is_tag(tag)
} else {
let is_compatible = include_incompatible || dataset.is_cli_compatible(&this_package_version());
let is_compatible = include_incompatible || dataset.is_cli_compatible(this_package_version());
let is_not_deprecated = include_deprecated || !dataset.is_deprecated();
let is_not_experimental = include_experimental || !dataset.is_experimental();
let is_not_community = include_community || !dataset.is_community();
Expand Down

1 comment on commit 92c41d1

@vercel
Copy link

@vercel vercel bot commented on 92c41d1 Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextclade – ./

nextclade-git-master-nextstrain.vercel.app
nextclade-nextstrain.vercel.app
nextclade.vercel.app

Please sign in to comment.