mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
fix(core): correct bash @P prompt transformation detection (#13544)
This commit is contained in:
@@ -271,7 +271,7 @@ function hasPromptCommandTransform(root: Node): boolean {
|
||||
const transformNode = current.child(i + 1);
|
||||
|
||||
if (
|
||||
operatorNode?.type === '@' &&
|
||||
operatorNode?.text === '@' &&
|
||||
transformNode?.text?.toLowerCase() === 'p'
|
||||
) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user