We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2aadff commit f552483Copy full SHA for f552483
1 file changed
src/vectorcode/subcommands/vectorise.py
@@ -139,8 +139,10 @@ async def chunked_add(
139
"sha256": new_sha256,
140
}
141
if isinstance(chunk, Chunk):
142
- meta["start"] = chunk.start.row
143
- meta["end"] = chunk.end.row
+ if chunk.start:
+ meta["start"] = chunk.start.row
144
+ if chunk.end:
145
+ meta["end"] = chunk.end.row
146
147
metas.append(meta)
148
async with collection_lock:
0 commit comments