From 6f0e6340bb22ee150ef4b7996750f4c63c0bc2a7 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 7 Jul 2023 21:04:53 -0700 Subject: fix: :bug: install python-virtualenv on linux, fix git hash files error --- continuedev/src/continuedev/core/autopilot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'continuedev/src') diff --git a/continuedev/src/continuedev/core/autopilot.py b/continuedev/src/continuedev/core/autopilot.py index 02fd61de..8b3fb97d 100644 --- a/continuedev/src/continuedev/core/autopilot.py +++ b/continuedev/src/continuedev/core/autopilot.py @@ -162,7 +162,7 @@ class Autopilot(ContinueBaseModel): if not self._adding_highlighted_code and len(self._highlighted_ranges) > 0: if len(range_in_files) == 0: return - if range_in_files[0].range.overlaps_with(self._highlighted_ranges[0].range) and range_in_files[0].filepath == self._highlighted_ranges[0].range.filepath: + if range_in_files[0].range.overlaps_with(self._highlighted_ranges[0].range.range) and range_in_files[0].filepath == self._highlighted_ranges[0].range.filepath: self._highlighted_ranges = [HighlightedRangeContext( range=range_in_files[0].range, editing=True, pinned=False)] await self.update_subscribers() -- cgit v1.2.3-70-g09d2