diff --git a/core/util/grepSearch.ts b/core/util/grepSearch.ts index be5b7ee082f..73ac3f72262 100644 --- a/core/util/grepSearch.ts +++ b/core/util/grepSearch.ts @@ -57,7 +57,7 @@ export function formatGrepSearchResults( let resultLines: string[] = []; for (const line of results.split("\n").filter((l) => !!l)) { - if (line.startsWith("./") || line === "--") { + if (line.startsWith("./") || line.startsWith(".\\") || line === "--") { processResult(resultLines); // process previous result resultLines = [line]; numResults++;