Skip to content

Commit

Permalink
Remove list check
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehinds authored and yrobla committed Jan 13, 2025
1 parent 0d5796d commit 7832710
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/codegate/pipeline/secrets/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,6 @@ def find_in_string(cls, text: Union[str, List[str]]) -> List[Match]:
if not cls._yaml_path:
raise RuntimeError("SecretFinder not initialized.")

# Convert list to string if necessary (needed for Cline, which sends a list of strings)
if isinstance(text, list):
text = "\n".join(str(line) for line in text)

matches = []

# Split text into lines for processing
Expand Down

0 comments on commit 7832710

Please sign in to comment.