(name)
| 135 | } |
| 136 | } |
| 137 | toggleCommand(name) { |
| 138 | const cmd = name.toLowerCase(); |
| 139 | if (this.disabledCommands.has(cmd)) { |
| 140 | this.disabledCommands.delete(cmd); |
| 141 | return 'enabled'; |
| 142 | } |
| 143 | else { |
| 144 | this.disabledCommands.add(cmd); |
| 145 | return 'disabled'; |
| 146 | } |
| 147 | } |
| 148 | _levenshtein(a, b) { |
| 149 | const tmp = []; |
| 150 | for (let i = 0; i <= a.length; i++) |
no outgoing calls
no test coverage detected