We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d694d29 commit 92f45d8Copy full SHA for 92f45d8
src/packages.nim
@@ -34,9 +34,9 @@ proc parseInfo*(name: string): Package =
34
if not dirExists(path):
35
abort(&"""{"name":8}{&"\{name\} not found":48}""")
36
37
- for line in (path / "info").lines:
38
- let line = line.strip()
+ result = Package()
39
+ for line in (path / "info").lines:
40
if line.isEmptyOrWhitespace() or line.startsWith('#'):
41
continue
42
0 commit comments