@@ -38,7 +38,7 @@ export function downloadOmnisharp(): Promise<boolean> {
3838 const repo = new Github ( { repo : OmnisharpRepo , token : null } ) ;
3939 const assetName = getOmnisharpAssetName ( ) ;
4040
41- process . stdout . write ( `[OmniSharp] Looking for ${ OmnisharpVersion } , ${ assetName } ...` ) ;
41+ console . log ( `[OmniSharp] Looking for ${ OmnisharpVersion } , ${ assetName } ...` ) ;
4242
4343 repo . getReleases ( { tag_name : OmnisharpVersion } , ( err , releases ) => {
4444 if ( err ) {
@@ -64,7 +64,7 @@ export function downloadOmnisharp(): Promise<boolean> {
6464 return reject ( new Error ( `OmniSharp release ${ OmnisharpVersion } asset, ${ assetName } not found.` ) ) ;
6565 }
6666
67- console . log ( `Found it!` ) ;
67+ console . log ( `[OmniSharp] Found it!` ) ;
6868
6969 repo . downloadAsset ( foundAsset , ( err , inStream ) => {
7070 if ( err ) {
@@ -76,7 +76,7 @@ export function downloadOmnisharp(): Promise<boolean> {
7676 return reject ( err ) ;
7777 }
7878
79- process . stdout . write ( `[OmniSharp] Downloading to ${ tmpPath } ...` ) ;
79+ console . log ( `[OmniSharp] Downloading to ${ tmpPath } ...` ) ;
8080
8181 const outStream = fs . createWriteStream ( null , { fd : fd } ) ;
8282
@@ -86,27 +86,27 @@ export function downloadOmnisharp(): Promise<boolean> {
8686 outStream . once ( 'finish' , ( ) => {
8787 // At this point, the asset has finished downloading.
8888
89- console . log ( `Done !` ) ;
89+ console . log ( `[OmniSharp] Download complete !` ) ;
9090
9191 let decompress = new Decompress ( )
9292 . src ( tmpPath )
9393 . dest ( DefaultInstallLocation ) ;
9494
9595 if ( path . extname ( foundAsset . name ) . toLowerCase ( ) === '.zip' ) {
9696 decompress = decompress . use ( Decompress . zip ( ) ) ;
97- process . stdout . write ( `[OmniSharp] Unzipping...` ) ;
97+ console . log ( `[OmniSharp] Unzipping...` ) ;
9898 }
9999 else {
100100 decompress = decompress . use ( Decompress . targz ( ) ) ;
101- process . stdout . write ( `[OmniSharp] Untaring...` ) ;
101+ console . log ( `[OmniSharp] Untaring...` ) ;
102102 }
103103
104104 decompress . run ( ( err , files ) => {
105105 if ( err ) {
106106 return reject ( err ) ;
107107 }
108108
109- console . log ( `Done! ${ files . length } files unpacked.` )
109+ console . log ( `[OmniSharp] Done! ${ files . length } files unpacked.` )
110110
111111 return resolve ( true ) ;
112112 } ) ;
0 commit comments