Skip to content

Commit 653374f

Browse files
author
Zhe Yu
committed
fix(nvim): Handle nil stdout values in vectorise_tool.
1 parent fce1298 commit 653374f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lua/vectorcode/integrations/codecompanion/vectorise_tool.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ The paths should be accurate (DO NOT ASSUME A PATH EXIST) and case case-sensitiv
143143
- Up-to-date files skipped: %d
144144
- Failed to decode: %d
145145
]],
146-
stdout.add,
147-
stdout.update,
148-
stdout.removed,
149-
stdout.skipped,
150-
stdout.failed
146+
stdout.add or 0,
147+
stdout.update or 0,
148+
stdout.removed or 0,
149+
stdout.skipped or 0,
150+
stdout.failed or 0
151151
)
152152
)
153153
if cmd.project_root and cmd.project_root then

0 commit comments

Comments
 (0)