Skip to content

Commit 9b6dd95

Browse files
committed
Fix a typo where RushGlobalFolder.path and nodeSpecificPath were backwards
1 parent 7e38ef2 commit 9b6dd95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/rush-lib/src/api/RushGlobalFolder.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ export class RushGlobalFolder {
3030
}
3131

3232
public constructor() {
33-
this._rushNodeSpecificUserFolder = path.join(Utilities.getHomeDirectory(), '.rush');
33+
this._rushUserFolder = path.join(Utilities.getHomeDirectory(), '.rush');
3434
const normalizedNodeVersion: string = process.version.match(/^[a-z0-9\-\.]+$/i)
3535
? process.version
3636
: 'unknown-version';
37-
this._rushUserFolder = path.join(this._rushNodeSpecificUserFolder, `node-${normalizedNodeVersion}`);
37+
this._rushNodeSpecificUserFolder = path.join(this._rushUserFolder, `node-${normalizedNodeVersion}`);
3838
}
3939
}

0 commit comments

Comments
 (0)