From 5406591ac76f43827b91702a304a4ffbc336a19c Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 24 Jul 2018 09:42:39 +0200 Subject: [PATCH] Adopt folderUri changes --- src/vs/workbench/electron-browser/bootstrap/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/electron-browser/bootstrap/index.js b/src/vs/workbench/electron-browser/bootstrap/index.js index 231a22d172e..51700d6f0b3 100644 --- a/src/vs/workbench/electron-browser/bootstrap/index.js +++ b/src/vs/workbench/electron-browser/bootstrap/index.js @@ -86,8 +86,8 @@ function showPartsSplash(configuration) { let key; let keep = false; // this is the logic of StorageService#getWorkspaceKey and StorageService#toStorageKey - if (configuration.folderPath) { - let workspaceKey = require('vscode-uri').default.file(configuration.folderPath).toString().replace('file:///', '').replace(/^\//, ''); + if (configuration.folderUri) { + let workspaceKey = require('vscode-uri').default.revive(configuration.folderUri).toString().replace('file:///', '').replace(/^\//, ''); key = `storage://workspace/${workspaceKey}/parts-splash`; } else if (configuration.workspace) { key = `storage://workspace/root:${configuration.workspace.id}/parts-splash`; -- GitLab