mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Replace some '_.each' with 'Array.prototype.forEach'
This commit is contained in:
parent
489a4b9095
commit
0134bf9870
4 changed files with 50 additions and 56 deletions
|
@ -431,7 +431,7 @@ var commandConfig = {
|
|||
names = names.concat(generalArgs);
|
||||
command.validateArgBounds(names, 1, Number.MAX_VALUE, '-d');
|
||||
|
||||
_.each(names, function(name) {
|
||||
names.forEach(function(name) {
|
||||
engine.validateAndDeleteBranch(name);
|
||||
});
|
||||
return;
|
||||
|
@ -856,4 +856,3 @@ var instantCommands = [
|
|||
|
||||
exports.commandConfig = commandConfig;
|
||||
exports.instantCommands = instantCommands;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue