Skip to content

Commit 77aebd6

Browse files
committed
Documentation tweaks.
1 parent d6e25bb commit 77aebd6

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export const enum EnvironmentVariableNames {
3030

3131
/**
3232
* If this variable is set to "true", Rush will create symlinks with absolute paths instead
33-
* of relative paths.
33+
* of relative paths. This can be necessary when a repository is moved during a build or
34+
* if parts of a repository are moved into a sandbox.
3435
*/
3536
RUSH_ABSOLUTE_SYMLINKS = 'RUSH_ABSOLUTE_SYMLINKS'
3637
}
@@ -57,6 +58,10 @@ export class EnvironmentConfiguration {
5758
return EnvironmentConfiguration._rushTempFolderOverride;
5859
}
5960

61+
/**
62+
* If "true", create symlinks with absolute paths instead of relative paths.
63+
* See {@link EnvironmentVariableNames.RUSH_ABSOLUTE_SYMLINKS}
64+
*/
6065
public static get absoluteSymlinks(): boolean {
6166
EnvironmentConfiguration._ensureInitialized();
6267
return EnvironmentConfiguration._absoluteSymlinks;

‎common/changes/@microsoft/rush/ianc-rush-link-absolute_2018-11-09-01-48.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"changes": [
33
{
4-
"comment": "Include an env variable option to create symlinks with absolute paths.",
4+
"comment": "Include an environment variable option to create symlinks with absolute paths.",
55
"packageName": "@microsoft/rush",
66
"type": "none"
77
}

0 commit comments

Comments
 (0)