提交 e239a451 编写于 作者: J Joao Moreno

tfs: windows build

上级 88fd8201
...@@ -6,7 +6,9 @@ $env:HOME=$env:USERPROFILE ...@@ -6,7 +6,9 @@ $env:HOME=$env:USERPROFILE
if (Test-Path env:AGENT_WORKFOLDER) { if (Test-Path env:AGENT_WORKFOLDER) {
$env:USERPROFILE="${env:AGENT_WORKFOLDER}\home" $env:USERPROFILE="${env:AGENT_WORKFOLDER}\home"
$env:HOME="${env:USERPROFILE}" $env:HOME="${env:USERPROFILE}"
$env:npm_config_cache="${env:USERPROFILE}\npm-cache"
New-Item -Path "$env:USERPROFILE" -Type directory -Force | out-null New-Item -Path "$env:USERPROFILE" -Type directory -Force | out-null
New-Item -Path "$env:npm_config_cache" -Type directory -Force | out-null
} }
# throw when a process exits with something other than 0 # throw when a process exits with something other than 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册