mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 04:19:06 +08:00
Removed '...' and replaced arrow
This commit is contained in:
parent
155deff9a8
commit
41c487458e
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ function capitalizeFirstLetter(str) {
|
|||
}
|
||||
|
||||
function addChildCommands(unifiedCommands, commandItem, parentCommandDisplay = '') {
|
||||
let commandItemDisplay = commandItem.display;
|
||||
if (parentCommandDisplay) commandItemDisplay = parentCommandDisplay + " → " + commandItemDisplay;
|
||||
let commandItemDisplay = commandItem.display.replace(/\s?\.\.\.$/g,'');
|
||||
if (parentCommandDisplay) commandItemDisplay = parentCommandDisplay + " > " + commandItemDisplay;
|
||||
if (commandItem.subgroup) {
|
||||
try {
|
||||
commandItem.exec();
|
||||
|
|
Loading…
Reference in a new issue