Skip to content

Commit 5105fa5

Browse files
committed
remove es6 arrow function
1 parent 72baaaf commit 5105fa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/tests/treebuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe("TreeBuilder", function(){
4040
//count how many entries we should have
4141
return readDir(reposPath)
4242
//treebuilder should have all entries in the clean working dir (minus .git folder)
43-
.then(dirEntries => assert.equal(dirEntries.length-1, treeBuilder.entrycount()));
43+
.then(function(dirEntries){ return assert.equal(dirEntries.length-1, treeBuilder.entrycount()) });
4444
});
4545
});
4646
})

0 commit comments

Comments
 (0)