Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse auth errors for HTTP repos #560

Merged
merged 1 commit into from
May 14, 2024
Merged

Parse auth errors for HTTP repos #560

merged 1 commit into from
May 14, 2024

Conversation

sergiou87
Copy link
Member

No description provided.

@sergiou87 sergiou87 requested a review from niik May 13, 2024 09:43
@sergiou87 sergiou87 merged commit 8e845ff into main May 14, 2024
12 checks passed
@sergiou87 sergiou87 deleted the parse-http-auth-errors branch May 14, 2024 17:24
This was referenced May 14, 2024
@@ -69,7 +69,7 @@ export const GitErrorRegexes: { [regexp: string]: GitError } = {
GitError.BadConfigValue,
'ERROR: ([\\s\\S]+?)\\n+\\[EPOLICYKEYAGE\\]\\n+fatal: Could not read from remote repository.':
GitError.SSHKeyAuditUnverified,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lib/nones.ts

@@ -287,7 +287,21 @@ describe('git-process', () => {
expect((error as any).code).toBe(RepositoryDoesNotExistErrorCode)
})

it('can parse errors', () => {
it('can parse HTTPS auth errors', () => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+289,","

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants