File tree Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 6969 },
7070 "dependencies" : {
7171 "async-file" : " 2.0.2" ,
72- "child-process-promise" : " ^2.2.1" ,
7372 "fs-extra" : " 5.0.0" ,
7473 "http-proxy-agent" : " 2.1.0" ,
7574 "https-proxy-agent" : " 2.2.1" ,
Original file line number Diff line number Diff line change 44 *--------------------------------------------------------------------------------------------*/
55
66import * as vscode from "vscode" ;
7- import { getDotnetInfo , getMonoVersion } from "./getdotnetInfo " ;
7+ import { execChildProcess } from "../common " ;
88
99const extensionId = 'ms-vscode.csharp' ;
1010const extension = vscode . extensions . getExtension ( extensionId ) ;
@@ -91,3 +91,10 @@ function getMonoIfPlatformValid(isValidPlatformForMono: boolean): string{
9191 return "" ;
9292}
9393
94+ async function getDotnetInfo ( ) : Promise < string > {
95+ return execChildProcess ( "dotnet --info" , process . cwd ( ) ) ;
96+ }
97+
98+ async function getMonoVersion ( ) : Promise < string > {
99+ return execChildProcess ( "dotnet --info" , process . cwd ( ) ) ;
100+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments