Skip to content

Commit e4d59f3

Browse files
authored
Merge pull request #36 from jordojordo/update-default-cmd-path
Update default gptscript binary path
2 parents bceea92 + 13aece6 commit e4d59f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gptscript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ async function getCmdPath(): Promise<string> {
912912

913913
const path = await import("path")
914914
const url = await import("url")
915-
return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "bin", "gptscript")
915+
return path.join(path.dirname(url.fileURLToPath(import.meta.url)), "..", "..", "bin", "gptscript")
916916
}
917917

918918
function parseBlocksFromNodes(nodes: any[]): Block[] {

0 commit comments

Comments
 (0)