winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f66d3cf0cb58ae0beb647b97be7128833503dab3
parent 63ea8b0cef902df41be4b5d49eca20be7ea36f88
Author: JohnMcPMS <johnmcp@microsoft.com>
Date:   Fri, 27 Aug 2021 22:34:31 -0700

Fix bad merge (#1408)


Diffstat:
Msrc/AppInstallerRepositoryCore/RepositorySource.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/AppInstallerRepositoryCore/RepositorySource.cpp b/src/AppInstallerRepositoryCore/RepositorySource.cpp @@ -969,7 +969,7 @@ namespace AppInstaller::Repository // Check for a non-user tombstone; hidden source data that we don't want to collide. // TODO: Refactor the source interface so that we don't do this - auto tombstoneSource = sourceList.GetSource(name); + auto tombstoneSource = sourceList.GetSource(sourceDetails.Name); THROW_HR_IF(APPINSTALLER_CLI_ERROR_SOURCE_NAME_ALREADY_EXISTS, tombstoneSource && tombstoneSource->Origin != SourceOrigin::User); // Check sources allowed by group policy