Skip to content

Commit

Permalink
Fixes creating tags with message w/ spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Oct 9, 2019
1 parent 358fa90 commit 680c802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/git/tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export class TagGitCommand extends QuickCommandBase<State> {

void state.repo.tag(
...state.flags,
...(hasMessage ? [state.message] : []),
...(hasMessage ? [`"${state.message}"`] : []),
state.name,
state.reference.ref
);
Expand Down

0 comments on commit 680c802

Please sign in to comment.