From ea2ad328385afe387193de315fc8e40509fd1383 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 2 Jul 2020 09:19:22 +0200 Subject: [PATCH] storage - remove unused code --- src/vs/platform/storage/node/storageService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/storage/node/storageService.ts b/src/vs/platform/storage/node/storageService.ts index 43d0332fa2838..703b7a841a2b5 100644 --- a/src/vs/platform/storage/node/storageService.ts +++ b/src/vs/platform/storage/node/storageService.ts @@ -263,7 +263,7 @@ export class NativeStorageService extends Disposable implements IStorageService async migrate(toWorkspace: IWorkspaceInitializationPayload): Promise { if (this.workspaceStoragePath === SQLiteStorageDatabase.IN_MEMORY_PATH) { - return Promise.resolve(); // no migration needed if running in memory + return; // no migration needed if running in memory } // Close workspace DB to be able to copy