Skip to content

Commit

Permalink
Revert "removeFromRecentlyOpened Command Broken. Fixes #58131"
Browse files Browse the repository at this point in the history
This reverts commit 0c0d368.
  • Loading branch information
chrmarti committed Oct 11, 2018
1 parent 98a67ae commit 0b306d1
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 @@ -141,7 +141,7 @@ export class WindowsChannel implements IWindowsChannel {
case 'removeFromRecentlyOpened': {
let paths: (IWorkspaceIdentifier | ISingleFolderWorkspaceIdentifier | URI | string)[] = arg;
if (Array.isArray(paths)) {
paths = paths.map(path => URI.isUri(path) ? URI.revive(path) : path);
paths = paths.map(path => isWorkspaceIdentifier(path) ? path : URI.revive(path));
}
return this.service.removeFromRecentlyOpened(paths);
}
Expand Down

0 comments on commit 0b306d1

Please sign in to comment.