Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Apr 24, 2024
1 parent 3e81f39 commit 15aa0c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ee/tabby-ui/app/files/components/chat-side-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ async function buildContextPrompt(
return []
}

const segments = path.split('/');
const repo = segments[0];
path = segments.slice(1).join('/');
const segments = path.split('/')
const repo = segments[0]
path = segments.slice(1).join('/')

const tokens = code.split(/[^\w]/).filter(x => x)

Expand Down

0 comments on commit 15aa0c6

Please sign in to comment.