Skip to content

Commit

Permalink
Pull from Gary's commit because I need it.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbob committed Aug 14, 2024
1 parent 5fb676a commit 8dc0155
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,11 @@ public virtual void MarkPackagePending(PackageResult packageResult, ChocolateyCo
return;
}

if (!_fileSystem.DirectoryExists(packageDirectory))
{
return;
}

if (packageDirectory.IsEqualTo(ApplicationParameters.InstallLocation) || packageDirectory.IsEqualTo(ApplicationParameters.PackagesLocation))
{
packageResult.Messages.Add(
Expand Down

0 comments on commit 8dc0155

Please sign in to comment.