Skip to content

Commit

Permalink
removeFromRecentlyOpened Command Broken. Fixes #58131
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Sep 20, 2018
1 parent 8dc2099 commit 0c0d368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/platform/windows/node/windowsIpc.ts
Expand Up @@ -143,7 +143,7 @@ export class WindowsChannel implements IWindowsChannel {
case 'removeFromRecentlyOpened': {
let paths: (IWorkspaceIdentifier | ISingleFolderWorkspaceIdentifier | URI | string)[] = arg;
if (Array.isArray(paths)) {
paths = paths.map(path => isWorkspaceIdentifier(path) ? path : URI.revive(path));
paths = paths.map(path => URI.isUri(path) ? URI.revive(path) : path);
}
return this.service.removeFromRecentlyOpened(paths);
}
Expand Down

0 comments on commit 0c0d368

Please sign in to comment.