From b514bbb2b6da791a6610fb8b1e9a77425dfa2f26 Mon Sep 17 00:00:00 2001 From: Sergio Padrino Date: Tue, 21 Sep 2021 10:57:23 +0200 Subject: [PATCH] Update error string for `RemoteAlreadyExists` --- lib/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/errors.ts b/lib/errors.ts index 59cb425e..65dbcd96 100644 --- a/lib/errors.ts +++ b/lib/errors.ts @@ -139,7 +139,7 @@ export const GitErrorRegexes: { [regexp: string]: GitError } = { GitError.ProtectedBranchRequiredStatus, 'error: GH007: Your push would publish a private email address.': GitError.PushWithPrivateEmail, 'error: could not lock config file (.+): File exists': GitError.ConfigLockFileAlreadyExists, - 'fatal: remote (.+) already exists.': GitError.RemoteAlreadyExists, + 'error: remote (.+) already exists.': GitError.RemoteAlreadyExists, "fatal: tag '(.+)' already exists": GitError.TagAlreadyExists, 'error: Your local changes to the following files would be overwritten by merge:\n': GitError.MergeWithLocalChanges,