We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0bb116 commit 58ab918Copy full SHA for 58ab918
lib/repository.js
@@ -352,7 +352,7 @@ Repository.initExt = function(repo_path, opts) {
352
Repository.getReferences = function(repo, type, refNamesOnly) {
353
return repo.getReferences().then(function(refList) {
354
var filteredRefList = refList.filter(function(reference) {
355
- return type === Reference.TYPE.LISTALL || reference.type === type;
+ return type === Reference.TYPE.ALL || reference.type === type;
356
});
357
358
if (refNamesOnly) {
0 commit comments