Skip to content

Commit 1790c39

Browse files
committed
Minor changes for coherence with codebase
1 parent 25e8ff3 commit 1790c39

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ protected override OperationVeredict _getOperationResult(
160160

161161
if (uintCode is 0x8A15002B)
162162
{
163-
if (Settings.Get("IgnoreUpdatesNotApplicable")) {
164-
Logger.Info("Ignoring update " + package.Name + " as the update is not applicable to the platform");
163+
if (Settings.Get("IgnoreUpdatesNotApplicable"))
164+
{
165+
Logger.Warn($"Ignoring update {package.Id} as the update is not applicable to the platform, and the user has enabled IgnoreUpdatesNotApplicable");
165166
IgnoredUpdatesDatabase.Add(IgnoredUpdatesDatabase.GetIgnoredIdForPackage(package), package.VersionString);
166167
return OperationVeredict.Success;
167168
}

0 commit comments

Comments
 (0)