mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
Replace '_.map' to 'Array.prototype.map'
This commit is contained in:
parent
0134bf9870
commit
7af2db3da5
5 changed files with 11 additions and 11 deletions
|
@ -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')]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue