Skip to content

Commit 12026ec

Browse files
authored
Update Vcpkg.cs
1 parent 2cd76b8 commit 12026ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/UniGetUI.PackageEngine.Managers.Vcpkg

src/UniGetUI.PackageEngine.Managers.Vcpkg/Vcpkg.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public override void RefreshPackageIndexes()
345345
var (vcpkgRootFound, vcpkgRoot) = GetVcpkgRoot();
346346
var (gitFound, gitPath) = CoreTools.Which("git");
347347

348-
if (!found || !gitFound || !vcpkgRootFound || Settings.Get("DisableUpdateVcpkgGitPorts"))
348+
if (!found || !gitFound || !vcpkgRootFound)
349349
{
350350
INativeTaskLogger logger = TaskLogger.CreateNew(LoggableTaskType.RefreshIndexes);
351351
if (Settings.Get("DisableUpdateVcpkgGitPorts")) logger.Error("User has disabled updating sources");

0 commit comments

Comments
 (0)