Commit 087a87f
authored
terminal: use display command in approval actions (#308916)
terminal: use display command in approval actions (#308895)
Use the display form of the command when computing terminal approval actions so wrapped unsandboxed commands do not leak into confirmation labels.
Also update the runInTerminalTool regression test to assert the display command label.1 parent 23f8300 commit 087a87f
File tree
2 files changed
+2
-2
lines changed- src/vs/workbench/contrib/terminalContrib/chatAgentTools
- browser/tools
- test/electron-browser
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| |||
0 commit comments