diff --git a/src/lint/track_config.nim b/src/lint/track_config.nim index 8a421b91..4e3a4ee6 100644 --- a/src/lint/track_config.nim +++ b/src/lint/track_config.nim @@ -427,7 +427,7 @@ proc checkForCycle(prerequisitesByConcept: Table[string, seq[string]]; if hadCycle: return - let updatedPrereqPath = prereqPath & @[currentConcept] + let updatedPrereqPath = prereqPath & currentConcept if currentConcept in prereqPath: var formattedCycle = &"{q updatedPrereqPath[0]} depends on {q updatedPrereqPath[1]}" for i in 1..prereqPath.high: