feat: Add GitRepoRegistration cmdlets #5
1 changed files with 2 additions and 1 deletions
chore(git-provider): Trim output when getting current branch
commit
c48549117f
|
|
@ -230,7 +230,8 @@ public class GitManager
|
|||
// Set the next check to be in the future so we don't hold up any list commands every time.
|
||||
_nextCheckTime = now.AddMinutes(15).Ticks;
|
||||
|
||||
return _currentBranch;
|
||||
// The branch name could (will) have a newline character at the end, so we trim that off
|
||||
return _currentBranch.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue