mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-08 21:54:26 +02:00
use better names for command configs
This commit is contained in:
parent
e4c0b4786c
commit
31f175fbc7
4 changed files with 21 additions and 21 deletions
|
@ -3,7 +3,7 @@ var intl = require('../intl');
|
|||
|
||||
var GitCommands = require('../git/commands');
|
||||
|
||||
var hgCommandConfig = {
|
||||
var commandConfig = {
|
||||
commit: {
|
||||
regex: /^hg +commit($|\s)/,
|
||||
options: [
|
||||
|
@ -11,9 +11,9 @@ var hgCommandConfig = {
|
|||
'-m'
|
||||
],
|
||||
execute: function(engine, command) {
|
||||
return GitCommands.gitCommandConfig.commit.execute(engine, command);
|
||||
return GitCommands.commandConfig.commit.execute(engine, command);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
exports.hgCommandConfig = hgCommandConfig;
|
||||
exports.commandConfig = commandConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue