Skip to content

Commit d53f89f

Browse files
committed
Uses the specific reveal function
1 parent 4ff9f1f commit d53f89f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/git/worktree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { MessageItem } from 'vscode';
2-
import { env, QuickInputButtons, Uri, window, workspace } from 'vscode';
2+
import { QuickInputButtons, Uri, window, workspace } from 'vscode';
33
import type { Config } from '../../config';
44
import type { Container } from '../../container';
55
import { PlusFeatures } from '../../features';
@@ -481,7 +481,7 @@ export class WorktreeGitCommand extends QuickCommand<State> {
481481
)
482482
.then(result => {
483483
if (result === openFolder) {
484-
void env.openExternal(uri);
484+
void revealInFileExplorer(uri);
485485
}
486486
});
487487
} else {

0 commit comments

Comments
 (0)