Skip to content

Commit

Permalink
remove added white space
Browse files Browse the repository at this point in the history
  • Loading branch information
g547315 committed Oct 20, 2023
1 parent 4926fd0 commit d9a3f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/commands/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1269,11 +1269,11 @@ export namespace CommandRegistry {
}
if (!layout.isModifierKey(key)) {
mods.push(key);
// for modifier and character key strings
return mods.join(' ');
} else {
// for purely modifier key strings add a space so they can be matched
return mods.join(' ') + ' ';
}
// for purely modifier key strings
return mods.join(' ');
}
}

Expand Down

0 comments on commit d9a3f6f

Please sign in to comment.