Skip to content

Commit d30da50

Browse files
committed
refactor(agent): ensure path is string when adding to index
1 parent 89dc574 commit d30da50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codetide/agents/tide/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ async def _stage(self)->str:
334334
index = self.tide.repo.index
335335
if not self._has_staged():
336336
for path in self.changed_paths:
337-
index.add(path)
337+
index.add(str(Path(path)))
338338

339339
index.write()
340340

0 commit comments

Comments
 (0)