fix cycle detector exception string printing backwards

pull/5/head
Evan Hemsley 2019-06-28 21:48:04 -07:00
parent 29179e0ad6
commit 53ec91d64f
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ namespace Encompass
{
var cycles = engineGraph.SimpleCycles();
var errorString = "Cycle(s) found in Engines: ";
foreach (var cycle in cycles)
foreach (var cycle in cycles.Reverse())
{
errorString += "\n" +
string.Join(" -> ", cycle.Select((engine) => engine.GetType().Name)) +