From f872dfac0420a6acc09a2fde5eb7bbf5693940ed Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 20 Jan 2016 15:31:23 -0800 Subject: [PATCH] remove some unused variables --- server-console/src/main.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server-console/src/main.js b/server-console/src/main.js index e13d99b455..a32e9328ff 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -349,7 +349,6 @@ function promptToMigrateContent() { }; homeServer.on('state-update', stopThenMigrateCallback); - homeServer.stop(); } else { @@ -377,8 +376,6 @@ function performContentMigration() { return; } - var copyError = null; - function showMigrationCompletionDialog(copyError) { if (!copyError) { // show message for successful migration @@ -403,8 +400,6 @@ function performContentMigration() { var newModelsPath = path.resolve(getAssignmentClientResourcesDirectory(), 'entities/models.json.gz') console.log("Copying Stack Manager entity file from " + modelsPath + " to " + newModelsPath); - var entitiesCopied = false; - try { fs.copySync(modelsPath, newModelsPath); @@ -420,7 +415,7 @@ function performContentMigration() { 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, { preserveTimestamps: true });