switching use of master to main in git branch cmd

This commit is contained in:
sam king 2021-03-04 08:48:58 -08:00
parent cd0a070e43
commit 8057d2a5da

View file

@ -793,8 +793,8 @@ GitEngine.prototype.printBranchesWithout = function(without) {
GitEngine.prototype.printBranches = function(branches) { GitEngine.prototype.printBranches = function(branches) {
var result = ''; var result = '';
branches.forEach(function (branch) { branches.forEach(branch => {
result += (branch.selected ? '* ' : '') + branch.id + '\n'; result += (branch.selected ? '* ' : '') + this.resolveName(branch.id).split('"')[1] + '\n';
}); });
throw new CommandResult({ throw new CommandResult({
msg: result msg: result