diff --git a/packages/core/src/utils/verify-auth.ts b/packages/core/src/utils/verify-auth.ts index 028b6bf7d..c8338f3c9 100644 --- a/packages/core/src/utils/verify-auth.ts +++ b/packages/core/src/utils/verify-auth.ts @@ -23,7 +23,11 @@ export default function verifyAuth(remote: string, branch: string) { }); child.on("exit", () => { - resolve(!err.startsWith("fatal: could not read Username")); + resolve( + !err.startsWith("fatal: could not read Username") && + !err.startsWith("ssh_askpass") && + !err.includes("fatal") + ); }); } catch (error) { resolve(false);