Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7102178

Browse files
authored
Merge pull requestdotnet#4083 from brettfo/restore-source
augment instead of replace the package source list when %PB_RestoreSource% is specified
2 parents94c7fe1 +114e7e8 commit7102178

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎build.cmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ if "%RestorePackages%" == "true" (
572572
%_ngenexe% install%_nugetexe% /nologo
573573
set_nugetoptions=-PackagesDirectory packages -ConfigFile%_nugetconfig%
574574
ifnot"%PB_RESTORESOURCE%"=="" (
575-
set_nugetoptions=!_nugetoptions! -Source%PB_RESTORESOURCE%
575+
set_nugetoptions=!_nugetoptions! -FallbackSource%PB_RESTORESOURCE%
576576
)
577577

578578
echo _nugetoptions=!_nugetoptions!

‎build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ if [ "${RestorePackages:-true}" = 'true' ]; then
450450

451451
_nugetoptions="-PackagesDirectory packages -ConfigFile$_nugetconfig"
452452
if ["$PB_RESTORESOURCE"!="" ];then
453-
_nugetoptions="$_nugetoptions -Source$PB_RESTORESOURCE"
453+
_nugetoptions="$_nugetoptions -FallbackSource$PB_RESTORESOURCE"
454454
fi
455455

456456
eval"$_nugetexe restore packages.config$_nugetoptions"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp