diff options
| author | Brandon Keiji <[email protected]> | 2025-05-30 19:57:46 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-30 19:57:46 +0000 |
| commit | cf82b6e127e508b10d4c9735ae3f6303f2f66fe2 (patch) | |
| tree | 13324426a4f8dd8d9cc8a8ce446bce053c3cd726 /packages/cli/src | |
| parent | a0ba65944fd1f940c161e7bb2aa7f01f62ae1c15 (diff) | |
fix(sandbox): prepare package.json before building sandbox image (#626)
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index d4daa5c9..5ec07c91 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -172,7 +172,7 @@ export const useSlashCommandProcessor = ( const osVersion = `${process.platform} ${process.version}`; let sandboxEnv = 'no sandbox'; if (process.env.SANDBOX && process.env.SANDBOX !== 'sandbox-exec') { - sandboxEnv = process.env.SANDBOX.replace(/^gemini-(?:code-)?/, ''); + sandboxEnv = process.env.SANDBOX; } else if (process.env.SANDBOX === 'sandbox-exec') { sandboxEnv = `sandbox-exec (${process.env.SEATBELT_PROFILE || 'unknown'})`; } |
