test invalid char on windows

This commit is contained in:
Dmitriy Ryajov 2022-09-19 22:40:46 -06:00
parent fc842663bb
commit 309ac94f21
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -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