change '_.clone(..args)' to 'Object.assign({}, ..args)'

This commit is contained in:
Hongarc 2018-12-01 06:37:25 +07:00
parent 052aa1e299
commit 489a4b9095
8 changed files with 14 additions and 17 deletions

View file

@ -726,7 +726,7 @@ GitEngine.prototype.makeTag = function(id, target) {
};
GitEngine.prototype.getHead = function() {
return _.clone(this.HEAD);
return Object.assign({}, this.HEAD);
};
GitEngine.prototype.getTags = function() {