Skip to content

Commit cf10b01

Browse files
author
Axel Kittenberger
committed
type is a call
1 parent 1c304e5 commit cf10b01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Repository.discover = function(startPath, acrossFs, ceilingDirs) {
340340
Repository.getReferences = function(repo, type, refNamesOnly) {
341341
return repo.getReferences().then(function(refList) {
342342
var filteredRefList = refList.filter(function(reference) {
343-
return type === Reference.TYPE.ALL || reference.type === type;
343+
return type === Reference.TYPE.ALL || reference.type( ) === type;
344344
});
345345

346346
if (refNamesOnly) {

0 commit comments

Comments
 (0)