slash got consumed in the consolidation

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-06-20 17:09:49 +01:00
parent 4dba23b81d
commit f5b12bd66a
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -27,14 +27,14 @@ import SettingsStore, {SettingLevel} from './settings/SettingsStore';
class Command {
constructor({name, args='', description, runFn}) {
this.command = name;
this.command = '/' + name;
this.args = args;
this.description = description;
this.runFn = runFn;
}
getCommand() {
return "/" + this.command;
return this.command;
}
getCommandWithArgs() {