Skip to content

Commit 92f45d8

Browse files
committed
Fixes
1 parent d694d29 commit 92f45d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ proc parseInfo*(name: string): Package =
3434
if not dirExists(path):
3535
abort(&"""{"name":8}{&"\{name\} not found":48}""")
3636

37-
for line in (path / "info").lines:
38-
let line = line.strip()
37+
result = Package()
3938

39+
for line in (path / "info").lines:
4040
if line.isEmptyOrWhitespace() or line.startsWith('#'):
4141
continue
4242

0 commit comments

Comments
 (0)