@@ -186,8 +186,8 @@ export class RushConfiguration {
186186 private _yarnCacheFolder : string ;
187187 private _tempShrinkwrapFilename : string ;
188188 private _tempShrinkwrapPreinstallFilename : string ;
189- private _rushUserFolder : string ;
190- private _versionIndependentRushUserFolder : string ;
189+ private __rushUserFolder : string ; // tslint:disable-line:variable-name
190+ private __rushNodeSpecificUserFolder : string ; // tslint:disable-line:variable-name
191191 private _rushLinkJsonFilename : string ;
192192 private _currentVariantJsonFilename : string ;
193193 private _packageManagerToolVersion : string ;
@@ -566,19 +566,21 @@ export class RushConfiguration {
566566 }
567567
568568 /**
569- * The absolute path to Rush's storage in the home directory for the current user and node version.
570- * On Windows, it would be something like `C:\Users\YourName\.rush\node-v4.5.6\`.
569+ * The absolute path to Rush's storage in the home directory for the current user, independent of node version.
570+ * On Windows, it would be something like `C:\Users\YourName\.rush\`.
571+ * @internal
571572 */
572- public get rushUserFolder ( ) : string {
573- return this . _rushUserFolder ;
573+ public get _rushUserFolder ( ) : string {
574+ return this . __rushUserFolder ;
574575 }
575576
576577 /**
577- * The absolute path to Rush's storage in the home directory for the current user, independent of node version.
578- * On Windows, it would be something like `C:\Users\YourName\.rush\`.
578+ * The absolute path to Rush's storage in the home directory for the current user and node version.
579+ * On Windows, it would be something like `C:\Users\YourName\.rush\node-v3.4.5`.
580+ * @internal
579581 */
580- public get versionIndependentRushUserFolder ( ) : string {
581- return this . _versionIndependentRushUserFolder ;
582+ public get _rushNodeSpecificUserFolder ( ) : string {
583+ return this . __rushNodeSpecificUserFolder ;
582584 }
583585
584586 /**
@@ -917,8 +919,8 @@ export class RushConfiguration {
917919 this . _yarnCacheFolder = path . resolve ( path . join ( this . _commonTempFolder , 'yarn-cache' ) ) ;
918920
919921 this . _changesFolder = path . join ( this . _commonFolder , RushConstants . changeFilesFolderName ) ;
920- this . _versionIndependentRushUserFolder = path . join ( Utilities . getHomeDirectory ( ) , '.rush' ) ;
921- this . _rushUserFolder = path . join ( this . _versionIndependentRushUserFolder , `node-${ process . version } ` ) ;
922+ this . __rushNodeSpecificUserFolder = path . join ( Utilities . getHomeDirectory ( ) , '.rush' ) ;
923+ this . __rushUserFolder = path . join ( this . __rushNodeSpecificUserFolder , `node-${ process . version } ` ) ;
922924
923925 this . _rushLinkJsonFilename = path . join ( this . _commonTempFolder , 'rush-link.json' ) ;
924926 this . _currentVariantJsonFilename = path . join ( this . _commonTempFolder , 'current-variant.json' ) ;
0 commit comments