Skip to content

Commit 37aefa4

Browse files
authored
Update WinGetPkgOperationHelper.cs
1 parent e9c4a80 commit 37aefa4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ protected override OperationVeredict _getOperationResult(
163163
if (Settings.Get("IgnoreUpdatesNotApplicable")) {
164164
Logger.Info("Ignoring update " + package.Name + " as the update is not applicable to the platform");
165165
IgnoredUpdatesDatabase.Add(IgnoredUpdatesDatabase.GetIgnoredIdForPackage(package), package.VersionString);
166+
return OperationVeredict.Success;
166167
}
167-
return OperationVeredict.Success;
168+
return OperationVeredict.Failure;
168169
}
169170

170171
if (uintCode is 0x8A15010D or 0x8A15004F or 0x8A15010E)

0 commit comments

Comments
 (0)