@@ -28,21 +28,21 @@ export class SysInfo implements NativeScriptDoctor.ISysInfo {
28
28
private npmVerCache : string ;
29
29
private nodeGypVerCache : string ;
30
30
private xCodeprojGemLocationCache : string ;
31
- private iTunesInstalledCache : boolean = null ;
31
+ private iTunesInstalledCache : boolean ;
32
32
private cocoaPodsVerCache : string ;
33
33
private osCache : string ;
34
34
private adbVerCache : string ;
35
- private androidInstalledCache : boolean = null ;
35
+ private androidInstalledCache : boolean ;
36
36
private monoVerCache : string ;
37
37
private gitVerCache : string ;
38
38
private gradleVerCache : string ;
39
39
private sysInfoCache : NativeScriptDoctor . ISysInfoData ;
40
- private isCocoaPodsWorkingCorrectlyCache : boolean = null ;
40
+ private isCocoaPodsWorkingCorrectlyCache : boolean ;
41
41
private nativeScriptCliVersionCache : string ;
42
42
private xcprojInfoCache : NativeScriptDoctor . IXcprojInfo ;
43
- private isCocoaPodsUpdateRequiredCache : boolean = null ;
43
+ private isCocoaPodsUpdateRequiredCache : boolean ;
44
44
private shouldCache : boolean = true ;
45
- private isAndroidSdkConfiguredCorrectlyCache : boolean = null ;
45
+ private isAndroidSdkConfiguredCorrectlyCache : boolean ;
46
46
47
47
constructor ( private childProcess : ChildProcess ,
48
48
private fileSystem : FileSystem ,
@@ -320,7 +320,7 @@ export class SysInfo implements NativeScriptDoctor.ISysInfo {
320
320
const propertyName = this . helpers . getPropertyName ( property ) ;
321
321
const cachedValue : T = ( < any > this ) [ propertyName ] ;
322
322
323
- if ( cachedValue === undefined || cachedValue === null ) {
323
+ if ( cachedValue === undefined ) {
324
324
const result = await getValueMethod ( ) ;
325
325
( < any > this ) [ propertyName ] = result ;
326
326
return result ;
0 commit comments