Skip to content

Commit

Permalink
fix(deadline): use HTTPS to download index
Browse files Browse the repository at this point in the history
  • Loading branch information
jusiskin committed Oct 16, 2020
1 parent 3b66c1b commit c626ba9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import * as fs from 'fs';
import * as http from 'http';
import * as https from 'https';
import * as url from 'url';

export enum Platform {
Expand Down Expand Up @@ -154,7 +155,7 @@ export class VersionProvider {
};

return new Promise((resolve, reject) => {
http.get(options, (res: http.IncomingMessage) => {
https.get(options, (res: http.IncomingMessage) => {
let json = '';

res.on('data', (chunk: any) => {
Expand Down

0 comments on commit c626ba9

Please sign in to comment.