File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const Github = require('github-releases');
1616const OmnisharpRepo = 'OmniSharp/omnisharp-roslyn' ;
1717const OmnisharpVersion = 'v1.9-alpha14' ;
1818const DefaultInstallLocation = path . join ( __dirname , '../.omnisharp' ) ;
19+ const ApiToken = '18a6f5ecea711220d4f433d4fd41062d479fda1d' ;
1920
2021tmp . setGracefulCleanup ( ) ;
2122
@@ -48,7 +49,7 @@ export function downloadOmnisharp(): Promise<boolean> {
4849 return new Promise < boolean > ( ( resolve , reject ) => {
4950 console . log ( `[OmniSharp]: Installing to ${ DefaultInstallLocation } ` ) ;
5051
51- const repo = new Github ( { repo : OmnisharpRepo , token : null } ) ;
52+ const repo = new Github ( { repo : OmnisharpRepo , token : ApiToken } ) ;
5253 const assetName = getOmnisharpAssetName ( ) ;
5354
5455 console . log ( `[OmniSharp] Looking for ${ OmnisharpVersion } , ${ assetName } ...` ) ;
You can’t perform that action at this time.
0 commit comments