use better names for command configs

This commit is contained in:
Siddharth Agarwal 2013-07-31 02:18:51 -07:00
parent e4c0b4786c
commit 31f175fbc7
4 changed files with 21 additions and 21 deletions

View file

@ -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;