@@ -26,28 +26,28 @@ export abstract class BaseLinkManager {
2626 protected _rushConfiguration : RushConfiguration ;
2727
2828 protected static _createSymlink ( options : IBaseLinkManagerCreateSymlinkOptions ) : void {
29- FileSystem . ensureFolder ( path . dirname ( options . linkPath ) ) ;
29+ FileSystem . ensureFolder ( path . dirname ( options . newLinkPath ) ) ;
3030
3131 if ( options . symlinkKind === SymlinkKind . Directory ) {
3232 // For directories, we use a Windows "junction". On Unix, this produces a regular symlink.
3333 FileSystem . createSymbolicLinkJunction ( {
3434 linkTargetPath : options . linkTargetPath ,
35- linkPath : options . linkPath
35+ newLinkPath : options . newLinkPath
3636 } ) ;
3737 } else {
3838 if ( process . platform === 'win32' ) {
3939 // For files, we use a Windows "hard link", because creating a symbolic link requires
4040 // administrator permission.
4141 FileSystem . createHardLink ( {
4242 linkTargetPath : options . linkTargetPath ,
43- linkPath : options . linkPath
43+ newLinkPath : options . newLinkPath
4444 } ) ;
4545 } else {
4646 // However hard links seem to cause build failures on Mac, so for all other operating systems
4747 // we use symbolic links for this case.
4848 FileSystem . createSymbolicLinkFile ( {
4949 linkTargetPath : options . linkTargetPath ,
50- linkPath : options . linkPath
50+ newLinkPath : options . newLinkPath
5151 } ) ;
5252 }
5353 }
@@ -106,7 +106,7 @@ export abstract class BaseLinkManager {
106106 // If there are no children, then we can symlink the entire folder
107107 BaseLinkManager . _createSymlink ( {
108108 linkTargetPath : localPackage . symlinkTargetFolderPath ,
109- linkPath : localPackage . folderPath ,
109+ newLinkPath : localPackage . folderPath ,
110110 symlinkKind : SymlinkKind . Directory
111111 } ) ;
112112 } else {
@@ -142,7 +142,7 @@ export abstract class BaseLinkManager {
142142
143143 BaseLinkManager . _createSymlink ( {
144144 linkTargetPath : linkTarget ,
145- linkPath : linkSource ,
145+ newLinkPath : linkSource ,
146146 symlinkKind
147147 } ) ;
148148 }
0 commit comments