We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a2492 commit b9916b8Copy full SHA for b9916b8
packages/release/src/index.js
@@ -56,7 +56,9 @@ const runProjectRootCommand = (command, force) => {
56
57
const checkBranchSync = () => {
58
console.log("Checking if local branch is master...");
59
- const currentBranch = runProjectRootCommand("git branch --show-current");
+ const currentBranch = runProjectRootCommand(
60
+ "git branch --show-current"
61
+ ).trim();
62
if (currentBranch !== "master") {
63
console.error(
64
"Local branch is not master. Please checkout the master branch."
0 commit comments