Small bugfixes
Test / Run tests (push) Successful in 21s
Deploy / Build and Deploy (push) Failing after 26s

This commit is contained in:
2026-08-05 16:47:25 +02:00
parent fd8bd7215a
commit 699be17c18
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ namespace PamhagenSysCtrl.Helpers.Pipeline {
var start = points.First();
var path = new Path(start, []);
foreach (var end in points.Skip(1)) {
if (valid != null && !valid(start)) {
if (valid != null && start != points.First() && !valid(start)) {
return null;
} else if (GetPath(start, end, valid, visited: [.. path.Hops.Select(h => h.Node)]) is not Path p) {
return null;