We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a2f797 + ef3ac25 commit b90ee53Copy full SHA for b90ee53
src/account_x/x_account_controller.ts
@@ -2391,6 +2391,8 @@ export class XAccountController {
2391
this.refreshAccount();
2392
} else {
2393
// Only rename if the new folder doesn't already exist
2394
+ // `getAccountDataPath` creates the account data path if it doesn't exist
2395
+ const newAccountDataPath = getAccountDataPath("X", username);
2396
try {
2397
// Move all content recursively from old directory to new directory
2398
if (fs.existsSync(oldAccountDataPath)) {
0 commit comments