提交 5406591a 编写于 作者: J Johannes Rieken

Adopt folderUri changes

上级 7348d2f7
......@@ -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`;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册