fix(cli): added directory name to folder trust dialog (#8165)

Co-authored-by: Taneja Hriday <hridayt@google.com>
This commit is contained in:
hritan
2025-09-10 16:31:12 +00:00
committed by GitHub
parent bd0f085ae8
commit 69b2d77df5
2 changed files with 11 additions and 2 deletions
@@ -46,11 +46,12 @@ export const FolderTrustDialog: React.FC<FolderTrustDialogProps> = ({
{ isActive: !!isRestarting },
);
const dirName = path.basename(process.cwd());
const parentFolder = path.basename(path.dirname(process.cwd()));
const options: Array<RadioSelectItem<FolderTrustChoice>> = [
{
label: 'Trust folder',
label: `Trust folder (${dirName})`,
value: FolderTrustChoice.TRUST_FOLDER,
},
{