Replace '_.map' to 'Array.prototype.map'

This commit is contained in:
Hongarc 2018-12-01 08:20:42 +07:00
parent 0134bf9870
commit 7af2db3da5
5 changed files with 11 additions and 11 deletions

View file

@ -190,7 +190,7 @@ var commandConfig = {
var set = Graph.getUpstreamSet(engine, 'HEAD');
// first resolve all the refs (as an error check)
var toCherrypick = _.map(generalArgs, function(arg) {
var toCherrypick = generalArgs.map(function (arg) {
var commit = engine.getCommitFromRef(arg);
// and check that its not upstream
if (set[commit.get('id')]) {