Browse Source

Uses the specific reveal function

main
Eric Amodio 1 year ago
parent
commit
d53f89f202
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/commands/git/worktree.ts

+ 2
- 2
src/commands/git/worktree.ts View File

@ -1,5 +1,5 @@
import type { MessageItem } from 'vscode';
import { env, QuickInputButtons, Uri, window, workspace } from 'vscode';
import { QuickInputButtons, Uri, window, workspace } from 'vscode';
import type { Config } from '../../config';
import type { Container } from '../../container';
import { PlusFeatures } from '../../features';
@ -481,7 +481,7 @@ export class WorktreeGitCommand extends QuickCommand {
)
.then(result => {
if (result === openFolder) {
void env.openExternal(uri);
void revealInFileExplorer(uri);
}
});
} else {

Loading…
Cancel
Save