don't export tryImport

This commit is contained in:
Daylin Morgan 2024-09-27 16:14:44 -05:00
parent 38888ead0d
commit d6e831367c
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -7,7 +7,7 @@
import std/[tables] import std/[tables]
import ./bbansi import ./bbansi
template tryImport*(x, body) = template tryImport(x, body) =
when not (compiles do: import x): body else: import x when not (compiles do: import x): body else: import x
tryImport pkg/cligen: tryImport pkg/cligen:
{.fatal: "hwylterm/cli requires cligen>=1.7.5".} {.fatal: "hwylterm/cli requires cligen>=1.7.5".}