This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-05 23:47:03 -04:00
1 parent e46db91f04
commit 049280219b
6 files changed
+206 -7

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ async def _search_rg(
raise FileNotFoundError(err) if "not found" in err.lower() else Exception(err)
# Make paths relative
prefix = str(full) + "/"
prefix = str(full) + os.sep
lines = output.splitlines()[:50]
result = [line.replace(prefix, "") for line in lines]
return "\n".join(result) if result else "No matches found."