fix(core): correct bash @P prompt transformation detection (#13544)

This commit is contained in:
Pyry Takala
2025-11-20 16:34:47 -08:00
committed by GitHub
parent 5982abeffb
commit 613b8a4527

View File

@@ -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;