mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
prefactor: add rootCommands as array so it can be used for policy parsing (#16640)
This commit is contained in:
@@ -63,6 +63,7 @@ describe('textUtils', () => {
|
||||
type: 'exec',
|
||||
command: '\u001b[31mmls -l\u001b[0m',
|
||||
rootCommand: '\u001b[32msudo apt-get update\u001b[0m',
|
||||
rootCommands: ['sudo'],
|
||||
onConfirm: async () => {},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user