diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-16 14:05:32 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-16 14:05:32 -0400 |
| commit | 5f685cbbe57fd6d3558efdbfb685dd5f177eaf34 (patch) | |
| tree | 832702249d85da389744519524d59c3ab0fb50ec /examples/tomodeps | |
| parent | 3cbacbd675d373edc83dd8f20be7cb7efbb3a506 (diff) | |
Minor cleanup
Diffstat (limited to 'examples/tomodeps')
| -rw-r--r-- | examples/tomodeps/tomodeps.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tomodeps/tomodeps.tm b/examples/tomodeps/tomodeps.tm index c1f21775..b2dc82dc 100644 --- a/examples/tomodeps/tomodeps.tm +++ b/examples/tomodeps/tomodeps.tm @@ -36,7 +36,7 @@ func _build_dependency_graph(dep:Dependency, dependencies:&{Dependency:{Dependen dir := (~/.local/share/tomo/installed/$module) module_deps := {:Dependency} visited := {:Path} - unvisited := {f:resolved() for f in dir:files() if f.text_content:ends_with(".tm")} + unvisited := {f:resolved() for f in dir:files() if f:ends_with(".tm")} while unvisited.length > 0: file := unvisited.items[-1] unvisited:remove(file) |
