|
|
|
@ -31,7 +31,8 @@ public record PipInstallArgs : ProcessArgsBuilder
|
|
|
|
|
var requirementsEntries = requirements |
|
|
|
|
.SplitLines(StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries) |
|
|
|
|
.Where(s => !s.StartsWith('#')) |
|
|
|
|
.Select(s => s.Contains('#') ? s.Substring(0, s.IndexOf('#')) : s); |
|
|
|
|
.Select(s => s.Contains('#') ? s.Substring(0, s.IndexOf('#')) : s) |
|
|
|
|
.Where(s => !string.IsNullOrWhiteSpace(s)); |
|
|
|
|
|
|
|
|
|
if (excludePattern is not null) |
|
|
|
|
{ |
|
|
|
|