This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
from depaudit.parsers import Parser, ParsedManifest, Dependency
|
from depaudit.parsers import Parser, ParsedManifest
|
||||||
|
|
||||||
|
|
||||||
class GoParser(Parser):
|
class GoParser(Parser):
|
||||||
@@ -27,7 +26,6 @@ class GoParser(Parser):
|
|||||||
|
|
||||||
while i < len(lines):
|
while i < len(lines):
|
||||||
line = lines[i].strip()
|
line = lines[i].strip()
|
||||||
original_line = lines[i]
|
|
||||||
|
|
||||||
if not line or line.startswith("//"):
|
if not line or line.startswith("//"):
|
||||||
i += 1
|
i += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user