Browse Source

Fix match regex

pull/165/head
Ionite 1 year ago
parent
commit
e0df26e2e3
No known key found for this signature in database
  1. 2
      StabilityMatrix.Core/Python/PyVenvRunner.cs

2
StabilityMatrix.Core/Python/PyVenvRunner.cs

@ -259,7 +259,7 @@ public class PyVenvRunner : IDisposable, IAsyncDisposable
if (excludes is not null)
{
var excludeRegex = new Regex(excludes);
var excludeRegex = new Regex($"^{excludes}$");
requirements = requirements.Where(s => !excludeRegex.IsMatch(s));
}

Loading…
Cancel
Save