mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
default to true for identity file question
This commit is contained in:
parent
4c414beb36
commit
328b1c9049
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue