mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
fixes #53520
This commit is contained in:
@@ -345,7 +345,7 @@ function getGitErrorCode(stderr: string): string | undefined {
|
||||
return GitErrorCodes.RepositoryIsLocked;
|
||||
} else if (/Authentication failed/.test(stderr)) {
|
||||
return GitErrorCodes.AuthenticationFailed;
|
||||
} else if (/Not a git repository/.test(stderr)) {
|
||||
} else if (/Not a git repository/i.test(stderr)) {
|
||||
return GitErrorCodes.NotAGitRepository;
|
||||
} else if (/bad config file/.test(stderr)) {
|
||||
return GitErrorCodes.BadConfigFile;
|
||||
|
||||
Reference in New Issue
Block a user