diff --git a/src/commands/gitCommands.ts b/src/commands/gitCommands.ts index c988546..84d18f6 100644 --- a/src/commands/gitCommands.ts +++ b/src/commands/gitCommands.ts @@ -22,7 +22,7 @@ import { SwitchGitCommand, SwitchGitCommandArgs } from './git/switch'; import { Container } from '../container'; import { configuration } from '../configuration'; -const sanitizeLabel = /\$\(.+?\)|\W/g; +const sanitizeLabel = /\$\(.+?\)|\s/g; export type GitCommandsCommandArgs = | CherryPickGitCommandArgs