Skip to content

Commit 2d18ac7

Browse files
author
tal-rofe
committedOct 31, 2022
fix: 🐞 trim output from branch name cmd
trim output from branch name cmd
1 parent 0940163 commit 2d18ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/utils/git-info.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const getBranchName = async () => {
1515
throw new Error(stderr);
1616
}
1717

18-
return branchName;
18+
return branchName.trim();
1919
};
2020

2121
/**

0 commit comments

Comments
 (0)
Please sign in to comment.