mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
remove some unused variables
This commit is contained in:
parent
d08a64a4d6
commit
f872dfac04
1 changed files with 1 additions and 6 deletions
|
@ -349,7 +349,6 @@ function promptToMigrateContent() {
|
||||||
};
|
};
|
||||||
|
|
||||||
homeServer.on('state-update', stopThenMigrateCallback);
|
homeServer.on('state-update', stopThenMigrateCallback);
|
||||||
|
|
||||||
homeServer.stop();
|
homeServer.stop();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -377,8 +376,6 @@ function performContentMigration() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var copyError = null;
|
|
||||||
|
|
||||||
function showMigrationCompletionDialog(copyError) {
|
function showMigrationCompletionDialog(copyError) {
|
||||||
if (!copyError) {
|
if (!copyError) {
|
||||||
// show message for successful migration
|
// show message for successful migration
|
||||||
|
@ -403,8 +400,6 @@ function performContentMigration() {
|
||||||
var newModelsPath = path.resolve(getAssignmentClientResourcesDirectory(), 'entities/models.json.gz')
|
var newModelsPath = path.resolve(getAssignmentClientResourcesDirectory(), 'entities/models.json.gz')
|
||||||
console.log("Copying Stack Manager entity file from " + modelsPath + " to " + newModelsPath);
|
console.log("Copying Stack Manager entity file from " + modelsPath + " to " + newModelsPath);
|
||||||
|
|
||||||
var entitiesCopied = false;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
fs.copySync(modelsPath, newModelsPath);
|
fs.copySync(modelsPath, newModelsPath);
|
||||||
|
|
||||||
|
@ -420,7 +415,7 @@ function performContentMigration() {
|
||||||
|
|
||||||
console.log("Copying Stack Manager assets from " + oldAssetsPath + " to " + newAssetsPath);
|
console.log("Copying Stack Manager assets from " + oldAssetsPath + " to " + newAssetsPath);
|
||||||
|
|
||||||
// attempt to copy the assets folder, show correct dialog depending on success/failure
|
// attempt to copy the assets folder
|
||||||
fs.copySync(oldAssetsPath, newAssetsPath, {
|
fs.copySync(oldAssetsPath, newAssetsPath, {
|
||||||
preserveTimestamps: true
|
preserveTimestamps: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue