Skip to content

Commit

Permalink
fixup! Select created new files and folders in the navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed May 14, 2020
1 parent c9f0e9e commit ceaf52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/browser/workspace-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class WorkspaceCommandContribution implements CommandContribution {
})
}));
registry.registerCommand(WorkspaceCommands.NEW_FOLDER, this.newWorkspaceRootUriAwareCommandHandler({
execute: uri => this.getDirectory(uri).then(async parent => {
execute: uri => this.getDirectory(uri).then(parent => {
if (parent) {
const parentUri = new URI(parent.uri);
const vacantChildUri = FileSystemUtils.generateUniqueResourceURI(parentUri, parent, 'Untitled');
Expand Down

0 comments on commit ceaf52b

Please sign in to comment.