From 328b1c904946c892e72ee287fe6c644c278dedc4 Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Mon, 30 Sep 2024 20:08:15 +0530 Subject: [PATCH] default to true for identity file question --- tribes-cli/utils/ssh/identity.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tribes-cli/utils/ssh/identity.ts b/tribes-cli/utils/ssh/identity.ts index 0a8abbaa..5cb83cfd 100644 --- a/tribes-cli/utils/ssh/identity.ts +++ b/tribes-cli/utils/ssh/identity.ts @@ -35,7 +35,10 @@ const resolveIdentityFile = async () => { export const defaultIdentityFile = async (supplied?: string) => { const cached = localStorage.getItem('identity-file-path'); - if (cached && cached !== supplied && await question('confirm', `Found identity file ${cached}. Use it?`)) { + if ( + cached && cached !== supplied && + await question('confirm', `Found previously-used identity file ${cached}. Use it?`, true) + ) { return cached; }