Skip to content

Commit

Permalink
Changed detail in nodegit usage to avoid displaying a depracation war…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
nicolas-van committed Sep 5, 2019
1 parent d404a96 commit 652c033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function getCommits(gitPath, branch) {
}

function getAllReferences(repo) {
return repo.getReferenceNames(git.Reference.TYPE.LISTALL);
return repo.getReferenceNames(git.Reference.TYPE.ALL);
}

function getBranchLatestCommit(repo, branchName) {
Expand Down

0 comments on commit 652c033

Please sign in to comment.