remove getRegex since it is no longer used

This commit is contained in:
Siddharth Agarwal 2013-07-31 01:07:51 -07:00
parent 9821df3bb7
commit d04817f7d1
2 changed files with 0 additions and 24 deletions

View file

@ -16,14 +16,6 @@ var commands = {
commandConfig[name].execute.call(this, engine, commandObj);
},
getRegex: function(name) {
name = name.replace(/-/g, ''); // ugh cherry-pick @____@
if (!commandConfig[name]) {
throw new Error('i dont have a regex for ' + name);
}
return commandConfig[name].regex;
},
getShortcutMap: function() {
var map = {'git': {}};
this.loop(function(config, name, vcs) {