mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 00:09:30 +01:00
Use mock-fs:// scheme instead of github-remote-file://
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -147,7 +147,7 @@ ${importMapJson}
|
||||
${additionalBuiltinExtensions}
|
||||
workspaceProvider: {
|
||||
workspace: ${useMock
|
||||
? `{ folderUri: URI.parse('github-remote-file://mock-repo/') }`
|
||||
? `{ folderUri: URI.parse('mock-fs://mock-repo/') }`
|
||||
: 'undefined'},
|
||||
open: async () => false,
|
||||
payload: [['isSessionsWindow', 'true']],
|
||||
|
||||
@@ -290,8 +290,8 @@ function registerMockFileSystem(vscode) {
|
||||
},
|
||||
};
|
||||
|
||||
console.log('[sessions-e2e-mock] Registering mock file system for github-remote-file://');
|
||||
return vscode.workspace.registerFileSystemProvider('github-remote-file', provider, {
|
||||
console.log('[sessions-e2e-mock] Registering mock file system for mock-fs://');
|
||||
return vscode.workspace.registerFileSystemProvider('mock-fs', provider, {
|
||||
isCaseSensitive: true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user