Skip to content

Commit 2753528

Browse files
committed
feature: reveal multiple items in dir
1 parent b6bd882 commit 2753528

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"opener": 'minor:enhance'
3+
"opener-js": 'minor:enhance'
4+
---
5+
6+
Allow reveal multiple items in the file explorer.

plugins/opener/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ export async function openPath(path: string, openWith?: string): Promise<void> {
9494
* @since 2.0.0
9595
*/
9696
export async function revealItemInDir(path: string | string[]): Promise<void> {
97-
const paths = typeof path === 'string' ? [ path ] : path
97+
const paths = typeof path === 'string' ? [path] : path
9898
return invoke('plugin:opener|reveal_item_in_dir', { paths })
9999
}

0 commit comments

Comments
 (0)