mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
[chore] ESLint and JSDoc
This commit is contained in:
@@ -299,7 +299,7 @@ async function migrateUserData() {
|
||||
fs.cpSync(
|
||||
migration.old,
|
||||
path.join(backupDirectory, path.basename(migration.old)),
|
||||
{ recursive: true, force: true }
|
||||
{ recursive: true, force: true },
|
||||
);
|
||||
fs.rmSync(migration.old, { recursive: true, force: true });
|
||||
} else {
|
||||
@@ -309,7 +309,7 @@ async function migrateUserData() {
|
||||
fs.cpSync(
|
||||
migration.old,
|
||||
path.join(backupDirectory, path.basename(migration.old)),
|
||||
{ recursive: true, force: true }
|
||||
{ recursive: true, force: true },
|
||||
);
|
||||
fs.rmSync(migration.old, { recursive: true, force: true });
|
||||
}
|
||||
|
Reference in New Issue
Block a user