File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ param(
157
157
158
158
# Other lifecycle targets
159
159
[switch ]$Help , # Show help
160
-
160
+
161
161
# Optional arguments that enable downloading an internal
162
162
# runtime or runtime from a non-default location
163
163
[string ]$DotNetRuntimeSourceFeed ,
Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ function LogError {
47
47
try {
48
48
if ($ci ) {
49
49
# Install dotnet.exe
50
- & $repoRoot / restore.cmd - ci - NoBuildNodeJS - DotNetRuntimeSourceFeed $DotNetRuntimeSourceFeed - DotNetRuntimeSourceFeedKey $DotNetRuntimeSourceFeedKey
50
+ if ($DotNetRuntimeSourceFeed -or $DotNetRuntimeSourceFeedKey ) {
51
+ & $repoRoot / restore.cmd - ci - NoBuildNodeJS - DotNetRuntimeSourceFeed $DotNetRuntimeSourceFeed - DotNetRuntimeSourceFeedKey $DotNetRuntimeSourceFeedKey
52
+ }
53
+ else {
54
+ & $repoRoot / restore.cmd - ci - NoBuildNodeJS
55
+ }
51
56
}
52
57
53
58
. " $repoRoot /activate.ps1"
You can’t perform that action at this time.
0 commit comments