Skip to content

Commit

Permalink
fix(createBranchName): del < and > from sanitized summary (#55)
Browse files Browse the repository at this point in the history
These characters are problematic when referencing the branch name in the
terminal
  • Loading branch information
tagoro9 authored Aug 11, 2017
1 parent d1056b9 commit 45c6422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const sanitizeSummary = R.compose(
R.replace(/__+/, '_'),
R.replace(/\s|\(|\)/g, '_'),
R.replace(/\/|\./g, '-'),
R.replace(/,|\[|]|"|'|||@||`|:|\$|\?|\*/g, ''),
R.replace(/,|\[|]|"|'|||@||`|:|\$|\?|\*|<|>/g, ''),
R.toLower,
);

Expand Down

0 comments on commit 45c6422

Please sign in to comment.