Skip to content

Commit

Permalink
fix: useless conversion into
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelramos committed Jul 6, 2024
1 parent 86c8ccc commit 383de45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ pub fn commits_since(
since: Option<String>,
relative: Option<String>,
) -> Vec<Commit> {
let commits = Git::get_commits_since(cwd, since, relative);

commits.into()
Git::get_commits_since(cwd, since, relative)
}

#[napi(js_name = "getAllFilesChangedSinceSha")]
Expand Down

0 comments on commit 383de45

Please sign in to comment.