提交 bcdad4c7 编写于 作者: J Joao Moreno

fixes #53520

上级 ef52c401
...@@ -345,7 +345,7 @@ function getGitErrorCode(stderr: string): string | undefined { ...@@ -345,7 +345,7 @@ function getGitErrorCode(stderr: string): string | undefined {
return GitErrorCodes.RepositoryIsLocked; return GitErrorCodes.RepositoryIsLocked;
} else if (/Authentication failed/.test(stderr)) { } else if (/Authentication failed/.test(stderr)) {
return GitErrorCodes.AuthenticationFailed; return GitErrorCodes.AuthenticationFailed;
} else if (/Not a git repository/.test(stderr)) { } else if (/Not a git repository/i.test(stderr)) {
return GitErrorCodes.NotAGitRepository; return GitErrorCodes.NotAGitRepository;
} else if (/bad config file/.test(stderr)) { } else if (/bad config file/.test(stderr)) {
return GitErrorCodes.BadConfigFile; return GitErrorCodes.BadConfigFile;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册