Skip to content

Commit

Permalink
fix reveal file failed on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xryu committed Dec 19, 2024
1 parent 3057e5e commit d31abbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/revealFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export async function revealFile(path: string): Promise<void> {
const os = await type();
switch (os) {
case 'windows':
await Command.create('reveal-file-windows', [`/select,"${path}"`]).execute();
await Command.create('reveal-file-windows', [`/select,`, path]).execute();
break;
case 'macos':
await Command.create('reveal-file-macos', ['-R', path]).execute();
Expand Down

0 comments on commit d31abbb

Please sign in to comment.