Skip to content

Commit c5dd047

Browse files
committed
Use windows-style path for gel binary
1 parent cccc137 commit c5dd047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gel/src/cli.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const IS_TTY = process.stdout.isTTY;
1717
const SCRIPT_LOCATION = await fs.realpath(fileURLToPath(import.meta.url));
1818
const EDGEDB_PKG_ROOT = "https://packages.edgedb.com";
1919
const CACHE_DIR = envPaths("gel", { suffix: "" }).cache;
20-
const CACHED_CLI_PATH = path.join(CACHE_DIR, "/bin/gel");
20+
const CACHED_CLI_PATH = path.join(CACHE_DIR, "bin", process.platform === "win32" ? "gel.exe" : "gel");
2121

2222
const SCRIPT_NAME = import.meta.url.split("/").pop() || "gel";
2323

0 commit comments

Comments
 (0)