Skip to content

Commit

Permalink
refacto get_repo_name function
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Oct 5, 2020
1 parent 87453b2 commit 2719c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ impl Info {
repository_name = parts[0].to_string();
}

(repository_name, name_parts.join("/"))
(repository_name, remote_url)
}

async fn get_current_commit_info(repo: &Repository) -> Result<CommitInfo> {
Expand Down

0 comments on commit 2719c63

Please sign in to comment.