mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-10 17:43:13 +00:00
test invalid char on windows
This commit is contained in:
parent
fc842663bb
commit
309ac94f21
@ -63,6 +63,7 @@ template allowed*(path: string): bool =
|
||||
var notfound = true
|
||||
for s in path:
|
||||
if s.char notin Allowed:
|
||||
echo "INVALID CHAR ", s
|
||||
notfound = false
|
||||
break
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user