mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 02:44:44 +00:00
make tdefault_nil test compile again
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import sequtils, os
|
||||
|
||||
template glob_rst(basedir: string = ""): untyped =
|
||||
if baseDir.isNil:
|
||||
if baseDir.len == 0:
|
||||
to_seq(walk_files("*.rst"))
|
||||
else:
|
||||
to_seq(walk_files(basedir/"*.rst"))
|
||||
|
||||
Reference in New Issue
Block a user