Skip to content

Commit 7cddb57

Browse files
committed
Remove savePkg check for license verification
1 parent 21ed3c8 commit 7cddb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code/InstallHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ private bool TryInstallToTempPath(
10261026
}
10271027

10281028
// Accept License verification
1029-
if (!_savePkg && !CallAcceptLicense(pkgToInstall, moduleManifest, tempInstallPath, pkgVersion, out error))
1029+
if (!CallAcceptLicense(pkgToInstall, moduleManifest, tempInstallPath, pkgVersion, out error))
10301030
{
10311031
_pkgNamesToInstall.RemoveAll(x => x.Equals(pkgToInstall.Name, StringComparison.InvariantCultureIgnoreCase));
10321032
return false;

0 commit comments

Comments
 (0)