mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
fix(cli): Prevent truncation of first character in shell commands
- The shell command processor was incorrectly truncating the first character of the command (e.g., 'ls' became 's') due to an erroneous `slice(1)` operation, likely introduced during a previous merge. This change removes the slice, ensuring the full command is processed. - Introduces unit tests for the shellCommandProcessor hook. - Fixes a minor grammatical issue in the display of GEMINI.md file count.
This commit is contained in:
parent
9c72a3ae12
commit
6ca446bded
3 changed files with 324 additions and 28 deletions
|
|
@ -348,7 +348,8 @@ export const App = ({
|
|||
<Text color={Colors.AccentRed}>|⌐■_■| </Text>
|
||||
)}
|
||||
<Text color={Colors.SubtleComment}>
|
||||
Using {geminiMdFileCount} GEMINI.md files
|
||||
Using {geminiMdFileCount} GEMINI.md file
|
||||
{geminiMdFileCount > 1 ? 's' : ''}
|
||||
</Text>
|
||||
</Box>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue