diff --git a/build/bundle.js b/build/bundle.js index 48fe4f5f..6b86b0f6 100644 --- a/build/bundle.js +++ b/build/bundle.js @@ -9877,8 +9877,8 @@ var CommandProcessError = Errors.CommandProcessError; var CommandResult = Errors.CommandResult; var commandConfigs = { - 'git': GitCommands.gitCommandConfig, - 'hg': MercurialCommands.hgCommandConfig + 'git': GitCommands.commandConfig, + 'hg': MercurialCommands.commandConfig }; var commands = { @@ -10048,7 +10048,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var gitCommandConfig = { +var commandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -10515,7 +10515,7 @@ var instantCommands = [ }] ]; -exports.gitCommandConfig = gitCommandConfig; +exports.commandConfig = commandConfig; exports.instantCommands = instantCommands; @@ -10526,7 +10526,7 @@ var intl = require('../intl'); var GitCommands = require('../git/commands'); -var hgCommandConfig = { +var commandConfig = { commit: { regex: /^hg +commit($|\s)/, options: [ @@ -10534,12 +10534,12 @@ 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; }); @@ -23355,8 +23355,8 @@ var CommandProcessError = Errors.CommandProcessError; var CommandResult = Errors.CommandResult; var commandConfigs = { - 'git': GitCommands.gitCommandConfig, - 'hg': MercurialCommands.hgCommandConfig + 'git': GitCommands.commandConfig, + 'hg': MercurialCommands.commandConfig }; var commands = { @@ -23968,7 +23968,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var gitCommandConfig = { +var commandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -24435,7 +24435,7 @@ var instantCommands = [ }] ]; -exports.gitCommandConfig = gitCommandConfig; +exports.commandConfig = commandConfig; exports.instantCommands = instantCommands; @@ -29642,7 +29642,7 @@ var intl = require('../intl'); var GitCommands = require('../git/commands'); -var hgCommandConfig = { +var commandConfig = { commit: { regex: /^hg +commit($|\s)/, options: [ @@ -29650,12 +29650,12 @@ 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; }); require("/src/js/mercurial/commands.js"); diff --git a/src/js/commands/index.js b/src/js/commands/index.js index e5f16803..27308eb3 100644 --- a/src/js/commands/index.js +++ b/src/js/commands/index.js @@ -8,8 +8,8 @@ var CommandProcessError = Errors.CommandProcessError; var CommandResult = Errors.CommandResult; var commandConfigs = { - 'git': GitCommands.gitCommandConfig, - 'hg': MercurialCommands.hgCommandConfig + 'git': GitCommands.commandConfig, + 'hg': MercurialCommands.commandConfig }; var commands = { diff --git a/src/js/git/commands.js b/src/js/git/commands.js index 491c201c..bf697806 100644 --- a/src/js/git/commands.js +++ b/src/js/git/commands.js @@ -7,7 +7,7 @@ var GitError = Errors.GitError; var Warning = Errors.Warning; var CommandResult = Errors.CommandResult; -var gitCommandConfig = { +var commandConfig = { commit: { sc: /^(gc|git ci)($|\s)/, regex: /^git +commit($|\s)/, @@ -474,6 +474,6 @@ var instantCommands = [ }] ]; -exports.gitCommandConfig = gitCommandConfig; +exports.commandConfig = commandConfig; exports.instantCommands = instantCommands; diff --git a/src/js/mercurial/commands.js b/src/js/mercurial/commands.js index efad00ce..d21645ef 100644 --- a/src/js/mercurial/commands.js +++ b/src/js/mercurial/commands.js @@ -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;