Fixed typos in comments and strings

This commit is contained in:
Hongarc 2018-11-28 23:25:18 +07:00
parent 20debcae2c
commit 5e8d83536e

View file

@ -164,7 +164,7 @@ TreeCompare.compareBranchesWithinTreesHashAgnostic = function(treeA, treeB, bran
return false;
}
// dont mess up the rest of comparison
// don't mess up the rest of comparison
branchA = _.clone(branchA);
branchB = _.clone(branchB);
branchA.target = this.getBaseRef(branchA.target);
@ -251,7 +251,7 @@ TreeCompare.getNumHashes = function(ref) {
return func(results);
}
}
throw new Error('couldnt parse ref ' + ref);
throw new Error('couldn\'t parse ref ' + ref);
};
TreeCompare.getBaseRef = function(ref) {