fixed:修复git内置插件,push取消输入账号密码时,识别标红终端输出语句为乱码的问题
This commit is contained in:
parent
1593493860
commit
da8bbf73ca
|
@ -3809,6 +3809,12 @@ export class CommandCenter {
|
|||
return;
|
||||
}
|
||||
|
||||
//修复git内置插件,push取消输入账号密码时,识别标红终端输出语句为乱码的问题
|
||||
if (message.indexOf('Unauthorized') >= 0) {
|
||||
console.log('git error output:' + message);
|
||||
message = 'Git:Remote:Failed to authenticate to git remote.';
|
||||
}
|
||||
|
||||
// We explicitly do not await this promise, because we do not
|
||||
// want the command execution to be stuck waiting for the user
|
||||
// to take action on the notification.
|
||||
|
|
Loading…
Reference in New Issue