Make linking script work on windows server
This commit is contained in:
parent
7326038424
commit
2542c38c9b
@ -91,7 +91,10 @@ const execYarnLink = (params: { targetModuleName?: string; cwd: string }) => {
|
|||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
...(os.platform() === "win32"
|
...(os.platform() === "win32"
|
||||||
? { USERPROFILE: yarnGlobalDirPath }
|
? {
|
||||||
|
USERPROFILE: yarnGlobalDirPath,
|
||||||
|
LOCALAPPDATA: yarnGlobalDirPath
|
||||||
|
}
|
||||||
: { HOME: yarnGlobalDirPath })
|
: { HOME: yarnGlobalDirPath })
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user