Skip to content

Commit

Permalink
[Code] Ignore certificateCheck in update as well (#35273)
Browse files Browse the repository at this point in the history
  • Loading branch information
mw-ding authored Apr 18, 2019
1 parent deb5881 commit 763f490
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/plugins/code/server/repository_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ export class RepositoryService {
callbacks: {
credentials: this.credentialFunc(key),
},
certificateCheck: () => {
// Ignore cert check failures.
return 1;
},
});
// TODO(mengwei): deal with the case when the default branch has changed.
const currentBranch = await repo.getCurrentBranch();
Expand Down

0 comments on commit 763f490

Please sign in to comment.