Skip to content

Commit

Permalink
No longer use a local revcount for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Feb 16, 2024
1 parent ab2c147 commit 97921ea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,15 +457,7 @@ impl FlakeHubPushCli {
}
};

let commit_count = match revision_info.local_revision_count {
Some(n) => n as i64,
None => {
tracing::debug!(
"Getting revision count locally failed, using data from github instead"
);
github_graphql_data_result.rev_count
}
};
let commit_count = github_graphql_data_result.rev_count;

let spdx_identifier = if spdx_expression.0.is_some() {
spdx_expression.0
Expand Down

0 comments on commit 97921ea

Please sign in to comment.