slash got consumed in the consolidation
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
4dba23b81d
commit
f5b12bd66a
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue