This repository was archived by the owner on Feb 2, 2021. It is now read-only.
File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -306,8 +306,6 @@ interface ISysInfoData {
306
306
// dependencies
307
307
/** version of java, as returned by `java -version` */
308
308
javaVer : string ;
309
- /** version string of ant, as returned by `ant -version` */
310
- antVer : string ;
311
309
/** Xcode version string as returned by `xcodebuild -version`. Valid only on Mac */
312
310
xcodeVer : string ;
313
311
/** Version string of adb, as returned by `adb version` */
Original file line number Diff line number Diff line change @@ -42,16 +42,13 @@ export class SysInfo implements ISysInfo {
42
42
43
43
// dependencies
44
44
try {
45
- // different java has different format for `java -version` command
45
+ // different java has different format for `java -version` command
46
46
let output = this . $childProcess . spawnFromEvent ( "java" , [ "-version" ] , "exit" ) . wait ( ) . stderr ;
47
47
res . javaVer = / (?: o p e n j d k | j a v a ) v e r s i o n \" ( (?: \d + \. ) + (?: \d + ) ) / i. exec ( output ) [ 1 ] ;
48
48
} catch ( e ) {
49
49
res . javaVer = null ;
50
50
}
51
51
52
- procOutput = this . exec ( "ant -version" ) ;
53
- res . antVer = procOutput ? procOutput . split ( os . EOL ) [ 0 ] : null ;
54
-
55
52
res . nodeGypVer = this . exec ( "node-gyp -v" ) ;
56
53
res . xcodeVer = this . $hostInfo . isDarwin ? this . exec ( "xcodebuild -version" ) : null ;
57
54
res . itunesInstalled = this . $iTunesValidator . getError ( ) . wait ( ) === null ;
You can’t perform that action at this time.
0 commit comments