mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-12-22 03:00:43 -06:00
don't export tryImport
This commit is contained in:
parent
38888ead0d
commit
d6e831367c
1 changed files with 1 additions and 1 deletions
|
@ -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".}
|
||||||
|
|
Loading…
Reference in a new issue