Skip to content

Commit

Permalink
fix: accidental removal
Browse files Browse the repository at this point in the history
  • Loading branch information
tinytim84 committed Nov 2, 2020
1 parent 9fa1101 commit 3aaf325
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,10 @@ export default class Auto {
host: `${hostname}${port ? `:${port}` : ""}`,
});

this.logger.veryVerbose.note("Using token + html URL as remote");
return urlWithAuth;
if (await this.git.verifyAuth(urlWithAuth)) {
this.logger.veryVerbose.note("Using token + html URL as remote");
return urlWithAuth;
}
}

if (html_url && (await this.git.verifyAuth(html_url))) {
Expand Down

0 comments on commit 3aaf325

Please sign in to comment.