Skip to content

Commit

Permalink
mac folder fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Oct 19, 2023
1 parent 3ad1721 commit 48fc3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { join } from "path"
export const getFolderOpenPath = async () => {
if (process.platform === 'darwin') {
const { execa } = await import("execa")
const res = execa('osascript', ['-e', `
const res = await execa('osascript', ['-e', `
tell app "Finder"
try
POSIX path of (insertion location as alias)
Expand Down

0 comments on commit 48fc3c7

Please sign in to comment.