@ff-labs/pi-fff 0.6.0 → 0.6.2-nightly.acd2f0c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ff-labs/pi-fff",
|
|
3
3
|
"public": true,
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2-nightly.acd2f0c",
|
|
5
5
|
"description": "pi extension: FFF-powered fuzzy file and content search",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ff-labs/fff-node": "
|
|
42
|
+
"@ff-labs/fff-node": "*"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@mariozechner/pi-coding-agent": "*",
|
package/src/index.ts
CHANGED
|
@@ -99,7 +99,7 @@ function formatGrepOutput(result: GrepResult, limit: number): string {
|
|
|
99
99
|
let currentFile = "";
|
|
100
100
|
|
|
101
101
|
for (const match of items) {
|
|
102
|
-
if (match.relativePath
|
|
102
|
+
if (match.relativePath !== currentFile) {
|
|
103
103
|
currentFile = match.relativePath;
|
|
104
104
|
if (lines.length > 0) lines.push("");
|
|
105
105
|
}
|