Skip to content

Commit 588253d

Browse files
committed
Remove list check
1 parent ebd5b80 commit 588253d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/codegate/pipeline/secrets/signatures.py

-4
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ def find_in_string(cls, text: Union[str, List[str]]) -> List[Match]:
223223
if not cls._yaml_path:
224224
raise RuntimeError("SecretFinder not initialized.")
225225

226-
# Convert list to string if necessary (needed for Cline, which sends a list of strings)
227-
if isinstance(text, list):
228-
text = "\n".join(str(line) for line in text)
229-
230226
matches = []
231227

232228
# Split text into lines for processing

0 commit comments

Comments
 (0)