You've already forked pathsd
Support for comments
This commit is contained in:
@@ -52,7 +52,8 @@ proc readPart(path: Path): seq[string] =
|
||||
try:
|
||||
var line: string = readLine(pathFile)
|
||||
while line != "":
|
||||
result.add(line)
|
||||
if line.startsWith("#") == false:
|
||||
result.add(line)
|
||||
line = readLine(pathFile)
|
||||
except EOFError as exception:
|
||||
discard
|
||||
|
||||
Reference in New Issue
Block a user