mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
make execute take the vcs as well
This commit is contained in:
parent
d04817f7d1
commit
7f43138665
3 changed files with 9 additions and 6 deletions
|
@ -9,7 +9,7 @@ var CommandResult = Errors.CommandResult;
|
|||
|
||||
var commandConfig;
|
||||
var commands = {
|
||||
execute: function(name, engine, commandObj) {
|
||||
execute: function(vcs, name, engine, commandObj) {
|
||||
if (!commandConfig[name]) {
|
||||
throw new Error('i dont have a command for ' + name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue