We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2894b26 commit b23a868Copy full SHA for b23a868
1 file changed
codebase_rag/config.py
@@ -23,11 +23,11 @@ def _parse_frozenset_of_strings(value: str | frozenset[str] | None) -> frozenset
23
if isinstance(value, frozenset):
24
return frozenset(Path(path) for path in value)
25
if isinstance(value, str):
26
- if not value.strip():
27
- return frozenset()
28
- return frozenset(
29
- Path(path.strip()) for path in value.split(",") if path.strip()
30
- )
+ if value.strip():
+ return frozenset(
+ Path(path.strip()) for path in value.split(",") if path.strip()
+ )
+ return frozenset()
31
32
33
class ApiKeyInfoEntry(TypedDict):
0 commit comments